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.
This commit is contained in:
Héctor Ramón Jiménez 2020-11-25 03:06:24 +01:00
parent a4ad1b297e
commit 782dd2f522
10 changed files with 67 additions and 9 deletions

View file

@ -6,7 +6,7 @@ edition = "2018"
publish = false
[dependencies]
iced = { path = "../..", features = ["image", "debug", "tokio"] }
iced = { path = "../..", features = ["image", "debug", "tokio_old"] }
serde_json = "1.0"
[dependencies.serde]