diff options
author | 2020-11-25 03:06:24 +0100 | |
---|---|---|
committer | 2020-11-25 03:06:24 +0100 | |
commit | 782dd2f5222bfef5e12aa576a821da21126505b7 (patch) | |
tree | ef43d15531134d4c92dedca14682d70d0c614a00 /futures/src/lib.rs | |
parent | a4ad1b297e97d6c3efc196681822f127efc954cc (diff) | |
download | iced-782dd2f5222bfef5e12aa576a821da21126505b7.tar.gz iced-782dd2f5222bfef5e12aa576a821da21126505b7.tar.bz2 iced-782dd2f5222bfef5e12aa576a821da21126505b7.zip |
Introduce `tokio_old` feature
This feature allows users to rely on the `0.2` version of `tokio` while
the async ecosystem upgrades to the latest version.
Diffstat (limited to 'futures/src/lib.rs')
-rw-r--r-- | futures/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/futures/src/lib.rs b/futures/src/lib.rs index 46fc59fc..f46db449 100644 --- a/futures/src/lib.rs +++ b/futures/src/lib.rs @@ -15,7 +15,7 @@ pub mod executor; pub mod subscription; #[cfg(all( - any(feature = "tokio", feature = "async-std"), + any(feature = "tokio", feature = "tokio_old", feature = "async-std"), not(target_arch = "wasm32") ))] #[cfg_attr(docsrs, doc(cfg(any(feature = "tokio", feature = "async-std"))))] |