diff options
author | 2021-01-13 01:48:35 +0100 | |
---|---|---|
committer | 2021-01-14 12:28:02 +0100 | |
commit | b2415eee61063d5c2b220d7b7a513d1952ce2be1 (patch) | |
tree | 2a0429981aa745132cb103d9d9bb75972e0c27b6 /src/lib.rs | |
parent | 92d647d1a6145e19ef9f540e02faef6a892f51fa (diff) | |
download | iced-b2415eee61063d5c2b220d7b7a513d1952ce2be1.tar.gz iced-b2415eee61063d5c2b220d7b7a513d1952ce2be1.tar.bz2 iced-b2415eee61063d5c2b220d7b7a513d1952ce2be1.zip |
Add `smol` async runtime
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -191,7 +191,12 @@ pub mod widget; pub mod window; #[cfg(all( - any(feature = "tokio", feature = "tokio_old", feature = "async-std"), + any( + feature = "tokio", + feature = "tokio_old", + feature = "async-std", + feature = "smol" + ), not(target_arch = "wasm32") ))] #[cfg_attr( @@ -200,6 +205,7 @@ pub mod window; feature = "tokio", feature = "tokio_old", feature = "async-std" + feature = "smol" ))) )] pub mod time; |