]> git.proxmox.com Git - pxar.git/blobdiff - Cargo.toml
update to tokio 1.0
[pxar.git] / Cargo.toml
index 24b5489c2aaa2a78951ab5dffb5b88f61a2d93d5..875de7afb68478c61a40eb0459e9cb97bd31108e 100644 (file)
@@ -47,7 +47,7 @@ siphasher = "0.3"
 
 anyhow = { version = "1.0", optional = true }
 futures = { version = "0.3.1", optional = true }
-tokio = { version = "0.2.10", optional = true, default-features = false }
+tokio = { version = "1.0", optional = true, default-features = false }
 
 [target.'cfg(target_os = "linux")'.dependencies]
 libc = "0.2"
@@ -65,8 +65,7 @@ async-example = [
     "futures-io",
     "tokio-io",
     "tokio-fs",
-    "tokio/rt-threaded",
-    "tokio/io-driver",
+    "tokio/rt-multi-thread",
     "tokio/macros",
 ]