Use the Tokio async runtime

This commit is contained in:
Matt Brubeck 2020-12-31 18:00:03 -08:00
parent beb0566201
commit 471a9927a0
3 changed files with 79 additions and 321 deletions

View file

@ -11,8 +11,8 @@ license = "MIT/Apache-2.0"
edition = "2018"
[dependencies]
async-tls = { version = "0.11.0", default-features = false, features = ["server"] }
async-std = "1.5"
tokio-rustls = "0.22.0"
tokio = { version = "1.0", features = ["fs", "io-util", "net", "rt-multi-thread"] }
env_logger = { version = "0.8", default-features = false, features = ["atty", "humantime", "termcolor"] }
getopts = "0.2.21"
log = "0.4"