From 2c5dc83019b0af47b2ee35df09002dfa16fcb3cb Mon Sep 17 00:00:00 2001 From: John-John Tedro Date: Sat, 8 May 2021 12:54:30 +0200 Subject: [PATCH] cargo: path dependencies for all tokio things (#3764) --- examples/Cargo.toml | 6 +++--- tokio-stream/Cargo.toml | 2 +- tokio-util/Cargo.toml | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/examples/Cargo.toml b/examples/Cargo.toml index cd27533412a..e21218ec6cd 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -7,9 +7,9 @@ edition = "2018" # If you copy one of the examples into a new project, you should be using # [dependencies] instead. [dev-dependencies] -tokio = { version = "1.0.0", features = ["full", "tracing"] } -tokio-util = { version = "0.6.3", features = ["full"] } -tokio-stream = { version = "0.1" } +tokio = { version = "1.0.0", path = "../tokio",features = ["full", "tracing"] } +tokio-util = { version = "0.6.3", path = "../tokio-util",features = ["full"] } +tokio-stream = { version = "0.1", path = "../tokio-stream" } tracing = "0.1" tracing-subscriber = { version = "0.2.7", default-features = false, features = ["fmt", "ansi", "env-filter", "chrono", "tracing-log"] } diff --git a/tokio-stream/Cargo.toml b/tokio-stream/Cargo.toml index 16efc3dfe1d..bf145ee59ec 100644 --- a/tokio-stream/Cargo.toml +++ b/tokio-stream/Cargo.toml @@ -31,7 +31,7 @@ signal = ["tokio/signal"] futures-core = { version = "0.3.0" } pin-project-lite = "0.2.0" tokio = { version = "1.2.0", path = "../tokio", features = ["sync"] } -tokio-util = { version = "0.6.3", optional = true } +tokio-util = { version = "0.6.3", path = "../tokio-util", optional = true } [dev-dependencies] tokio = { version = "1.2.0", path = "../tokio", features = ["full", "test-util"] } diff --git a/tokio-util/Cargo.toml b/tokio-util/Cargo.toml index 73969598e6a..638e1602d74 100644 --- a/tokio-util/Cargo.toml +++ b/tokio-util/Cargo.toml @@ -35,7 +35,7 @@ rt = ["tokio/rt"] __docs_rs = ["futures-util"] [dependencies] -tokio = { version = "1.0.0", features = ["sync"] } +tokio = { version = "1.0.0", path = "../tokio", features = ["sync"] } bytes = "1.0.0" futures-core = "0.3.0" @@ -47,9 +47,9 @@ pin-project-lite = "0.2.0" slab = { version = "0.4.1", optional = true } # Backs `DelayQueue` [dev-dependencies] -tokio = { version = "1.0.0", features = ["full"] } -tokio-test = { version = "0.4.0" } -tokio-stream = { version = "0.1" } +tokio = { version = "1.0.0", path = "../tokio", features = ["full"] } +tokio-test = { version = "0.4.0", path = "../tokio-test" } +tokio-stream = { version = "0.1", path = "../tokio-stream" } async-stream = "0.3.0" futures = "0.3.0"