aboutsummaryrefslogtreecommitdiffstats
path: root/Cargo.toml
diff options
context:
space:
mode:
authorJokler <jokler@protonmail.com>2020-01-14 04:46:57 +0100
committerJokler <jokler@protonmail.com>2020-01-14 04:46:57 +0100
commit8fe65c0e790e15eab8a3009c7ae6eb272a6bf862 (patch)
treea889324406852c54cd785be86fac644670bc416f /Cargo.toml
parent39b248df9c92b3a6bc94c3eb3e872e502b3cef7a (diff)
downloadpokebot-8fe65c0e790e15eab8a3009c7ae6eb272a6bf862.tar.gz
pokebot-8fe65c0e790e15eab8a3009c7ae6eb272a6bf862.zip
Use async channel to guarantee tokio never blocks
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 6dec758..408e79e 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -18,7 +18,7 @@ tokio = "0.1"
tokio-process = "0.2.4"
tokio-signal = "0.2"
# Changes enabled features on tsclientlib to fix errors on it
-tokio2 = { package = "tokio", version = "0.2.0", features = ["tcp", "io-util"] }
+tokio02 = { package = "tokio", version = "0.2.0", features = ["tcp", "io-util", "sync"] }
futures01 = { package = "futures", version = "0.1.21" }
futures-preview = { version = "=0.3.0-alpha.19", features = ["compat"] }