Hi Tokio 1.0!

This commit is contained in:
Zhaofeng Li 2020-12-23 13:28:25 -08:00
parent c60d63e053
commit 9a75598962
3 changed files with 8 additions and 10 deletions

14
Cargo.lock generated
View file

@ -45,9 +45,9 @@ checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693"
[[package]] [[package]]
name = "bytes" name = "bytes"
version = "0.6.0" version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e0dcbc35f504eb6fc275a6d20e4ebcda18cf50d40ba6fabff8c711fa16cb3b16" checksum = "ad1f8e949d755f9d79112b5bb46938e0ef9d3804a0b16dfab13aafcaa5f0fa72"
[[package]] [[package]]
name = "cfg-if" name = "cfg-if"
@ -708,13 +708,12 @@ dependencies = [
[[package]] [[package]]
name = "tokio" name = "tokio"
version = "0.3.6" version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "720ba21c25078711bf456d607987d95bce90f7c3bea5abe1db587862e7a1e87c" checksum = "9f4bfdcbd00fa893ac0549b38aa27080636a0104b0d0c38475a99439405e1df8"
dependencies = [ dependencies = [
"autocfg", "autocfg",
"bytes", "bytes",
"futures-core",
"libc", "libc",
"memchr", "memchr",
"mio", "mio",
@ -723,16 +722,15 @@ dependencies = [
"parking_lot", "parking_lot",
"pin-project-lite", "pin-project-lite",
"signal-hook-registry", "signal-hook-registry",
"slab",
"tokio-macros", "tokio-macros",
"winapi", "winapi",
] ]
[[package]] [[package]]
name = "tokio-macros" name = "tokio-macros"
version = "0.3.1" version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "21d30fdbb5dc2d8f91049691aa1a9d4d4ae422a21c334ce8936e5886d30c5c45" checksum = "42517d2975ca3114b22a16192634e8241dc5cc1f130be194645970cc1c371494"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",

View file

@ -21,4 +21,4 @@ serde = { version = "1.0.118", features = ["derive"] }
serde_json = "1.0" serde_json = "1.0"
snafu = "0.6.10" snafu = "0.6.10"
tempfile = "3.1.0" tempfile = "3.1.0"
tokio = { version = "0.3.6", features = ["full"] } tokio = { version = "1.0.0", features = ["full"] }

View file

@ -10,5 +10,5 @@ in rustPlatform.buildRustPackage {
version = "0.1.0"; version = "0.1.0";
src = ./.; src = ./.;
cargoSha256 = "1ayfw41kaa5wcqym4sz1l44gldi0qz1pfhfsqd53hgaim4nqiwrn"; cargoSha256 = "0gwjbzvx6hlbjb8892rc2p9rj5l432y13aq1nxr2h71rgqppxflg";
} }