From 9a755989621cacbba171537b5547185f4bb695e0 Mon Sep 17 00:00:00 2001 From: Zhaofeng Li Date: Wed, 23 Dec 2020 13:28:25 -0800 Subject: [PATCH] Hi Tokio 1.0! --- Cargo.lock | 14 ++++++-------- Cargo.toml | 2 +- default.nix | 2 +- 3 files changed, 8 insertions(+), 10 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f1f4fea..795b67d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -45,9 +45,9 @@ checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693" [[package]] name = "bytes" -version = "0.6.0" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0dcbc35f504eb6fc275a6d20e4ebcda18cf50d40ba6fabff8c711fa16cb3b16" +checksum = "ad1f8e949d755f9d79112b5bb46938e0ef9d3804a0b16dfab13aafcaa5f0fa72" [[package]] name = "cfg-if" @@ -708,13 +708,12 @@ dependencies = [ [[package]] name = "tokio" -version = "0.3.6" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "720ba21c25078711bf456d607987d95bce90f7c3bea5abe1db587862e7a1e87c" +checksum = "9f4bfdcbd00fa893ac0549b38aa27080636a0104b0d0c38475a99439405e1df8" dependencies = [ "autocfg", "bytes", - "futures-core", "libc", "memchr", "mio", @@ -723,16 +722,15 @@ dependencies = [ "parking_lot", "pin-project-lite", "signal-hook-registry", - "slab", "tokio-macros", "winapi", ] [[package]] name = "tokio-macros" -version = "0.3.1" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21d30fdbb5dc2d8f91049691aa1a9d4d4ae422a21c334ce8936e5886d30c5c45" +checksum = "42517d2975ca3114b22a16192634e8241dc5cc1f130be194645970cc1c371494" dependencies = [ "proc-macro2", "quote", diff --git a/Cargo.toml b/Cargo.toml index 4ef2546..b6c8998 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,4 +21,4 @@ serde = { version = "1.0.118", features = ["derive"] } serde_json = "1.0" snafu = "0.6.10" tempfile = "3.1.0" -tokio = { version = "0.3.6", features = ["full"] } +tokio = { version = "1.0.0", features = ["full"] } diff --git a/default.nix b/default.nix index fe63ef7..e0be259 100644 --- a/default.nix +++ b/default.nix @@ -10,5 +10,5 @@ in rustPlatform.buildRustPackage { version = "0.1.0"; src = ./.; - cargoSha256 = "1ayfw41kaa5wcqym4sz1l44gldi0qz1pfhfsqd53hgaim4nqiwrn"; + cargoSha256 = "0gwjbzvx6hlbjb8892rc2p9rj5l432y13aq1nxr2h71rgqppxflg"; }