feat(client): add optional Tokio socket support

This commit is contained in:
Nils Andreas Svee committed 2026-08-04 15:29:35 +07:00
1 parent 069da5cee9
commit a542d4edf1
7 files changed
+528 -33

No files matched your search

+7
View File
@@ -16,10 +16,17 @@ irtt-proto.workspace = true
libc = { version = "0.2.189", optional = true }
socket2 = { version = "0.6.5", features = ["all"] }
thiserror = "2.0.19"
tokio = {
version = "1",
default-features = false,
features = ["rt", "net", "time", "sync"],
optional = true,
}
[features]
default = []
ancillary = ["dep:libc"]
tokio = ["dep:tokio"]
[package.metadata.docs.rs]
all-features = true