diff options
Diffstat (limited to 'futures/Cargo.toml')
-rw-r--r-- | futures/Cargo.toml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/futures/Cargo.toml b/futures/Cargo.toml index 275d0391..7854dbb0 100644 --- a/futures/Cargo.toml +++ b/futures/Cargo.toml @@ -19,11 +19,17 @@ log = "0.4" [dependencies.futures] version = "0.3" -[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio] +[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio_old] +package = "tokio" version = "0.2" optional = true features = ["rt-core", "rt-threaded", "time", "stream"] +[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio] +version = "0.3" +optional = true +features = ["rt-multi-thread", "time", "stream"] + [target.'cfg(not(target_arch = "wasm32"))'.dependencies.async-std] version = "1.0" optional = true |