From 7597fdba443d97748d63194138381c1253e4b726 Mon Sep 17 00:00:00 2001 From: Luke Steensen Date: Tue, 22 Dec 2020 17:58:07 -0600 Subject: [PATCH] chore: update to released `bytes` 1.0 --- examples/Cargo.toml | 2 +- tokio-test/Cargo.toml | 2 +- tokio-util/Cargo.toml | 2 +- tokio/Cargo.toml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/Cargo.toml b/examples/Cargo.toml index 233c83d037c..67dde991d35 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -14,7 +14,7 @@ tokio-stream = { version = "0.1", path = "../tokio-stream" } async-stream = "0.3" tracing = "0.1" tracing-subscriber = { version = "0.2.7", default-features = false, features = ["fmt", "ansi", "env-filter", "chrono", "tracing-log"] } -bytes = { git = "https://github.com/tokio-rs/bytes" } +bytes = "1.0.0" futures = { version = "0.3.0", features = ["thread-pool"]} http = "0.2" serde = "1.0" diff --git a/tokio-test/Cargo.toml b/tokio-test/Cargo.toml index 6c9b0862c3f..f6beac3497e 100644 --- a/tokio-test/Cargo.toml +++ b/tokio-test/Cargo.toml @@ -25,7 +25,7 @@ tokio = { version = "1.0.0", path = "../tokio", features = ["rt", "sync", "time" tokio-stream = { version = "0.1", path = "../tokio-stream" } async-stream = "0.3" -bytes = { git = "https://github.com/tokio-rs/bytes" } +bytes = "1.0.0" futures-core = "0.3.0" [dev-dependencies] diff --git a/tokio-util/Cargo.toml b/tokio-util/Cargo.toml index 1b725b404b4..93b7d05dacb 100644 --- a/tokio-util/Cargo.toml +++ b/tokio-util/Cargo.toml @@ -40,7 +40,7 @@ __docs_rs = ["futures-util"] tokio = { version = "1.0.0", path = "../tokio" } tokio-stream = { version = "0.1", path = "../tokio-stream" } -bytes = { git = "https://github.com/tokio-rs/bytes" } +bytes = "1.0.0" futures-core = "0.3.0" futures-sink = "0.3.0" futures-io = { version = "0.3.0", optional = true } diff --git a/tokio/Cargo.toml b/tokio/Cargo.toml index ca0f41ea705..5f347d043dc 100644 --- a/tokio/Cargo.toml +++ b/tokio/Cargo.toml @@ -92,7 +92,7 @@ tokio-macros = { version = "1.0.0", path = "../tokio-macros", optional = true } pin-project-lite = "0.2.0" # Everything else is optional... -bytes = { git = "https://github.com/tokio-rs/bytes", optional = true } +bytes = { version = "1.0.0", optional = true } once_cell = { version = "1.5.2", optional = true } memchr = { version = "2.2", optional = true } mio = { version = "0.7.6", optional = true }