summaryrefslogtreecommitdiffstats
path: root/futures/Cargo.toml
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector0193@gmail.com>2021-01-15 19:04:23 +0100
committerLibravatar GitHub <noreply@github.com>2021-01-15 19:04:23 +0100
commit2056304e39c32ef5613eb6e82036586043002c08 (patch)
treed6f780a018222ed4a4476cfbc634543c7499b462 /futures/Cargo.toml
parent984583b0cca86d7ba8f865489cbebeb181349c19 (diff)
parentfd2c96c8e36eb37ea4a53aafe0986b569a4e3753 (diff)
downloadiced-2056304e39c32ef5613eb6e82036586043002c08.tar.gz
iced-2056304e39c32ef5613eb6e82036586043002c08.tar.bz2
iced-2056304e39c32ef5613eb6e82036586043002c08.zip
Merge pull request #699 from JayceFayne/smol
Add `smol` async runtime support
Diffstat (limited to 'futures/Cargo.toml')
-rw-r--r--futures/Cargo.toml4
1 files changed, 4 insertions, 0 deletions
diff --git a/futures/Cargo.toml b/futures/Cargo.toml
index 92b504a6..c266f705 100644
--- a/futures/Cargo.toml
+++ b/futures/Cargo.toml
@@ -36,6 +36,10 @@ version = "1.0"
optional = true
features = ["unstable"]
+[target.'cfg(not(target_arch = "wasm32"))'.dependencies.smol]
+version = "1.2"
+optional = true
+
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen-futures = "0.4"