mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-25 00:00:18 +02:00
cargo: path dependencies for all tokio things (#3764)
This commit is contained in:
+3
-3
@@ -7,9 +7,9 @@ edition = "2018"
|
|||||||
# If you copy one of the examples into a new project, you should be using
|
# If you copy one of the examples into a new project, you should be using
|
||||||
# [dependencies] instead.
|
# [dependencies] instead.
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
tokio = { version = "1.0.0", features = ["full", "tracing"] }
|
tokio = { version = "1.0.0", path = "../tokio",features = ["full", "tracing"] }
|
||||||
tokio-util = { version = "0.6.3", features = ["full"] }
|
tokio-util = { version = "0.6.3", path = "../tokio-util",features = ["full"] }
|
||||||
tokio-stream = { version = "0.1" }
|
tokio-stream = { version = "0.1", path = "../tokio-stream" }
|
||||||
|
|
||||||
tracing = "0.1"
|
tracing = "0.1"
|
||||||
tracing-subscriber = { version = "0.2.7", default-features = false, features = ["fmt", "ansi", "env-filter", "chrono", "tracing-log"] }
|
tracing-subscriber = { version = "0.2.7", default-features = false, features = ["fmt", "ansi", "env-filter", "chrono", "tracing-log"] }
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ signal = ["tokio/signal"]
|
|||||||
futures-core = { version = "0.3.0" }
|
futures-core = { version = "0.3.0" }
|
||||||
pin-project-lite = "0.2.0"
|
pin-project-lite = "0.2.0"
|
||||||
tokio = { version = "1.2.0", path = "../tokio", features = ["sync"] }
|
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]
|
[dev-dependencies]
|
||||||
tokio = { version = "1.2.0", path = "../tokio", features = ["full", "test-util"] }
|
tokio = { version = "1.2.0", path = "../tokio", features = ["full", "test-util"] }
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ rt = ["tokio/rt"]
|
|||||||
__docs_rs = ["futures-util"]
|
__docs_rs = ["futures-util"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
tokio = { version = "1.0.0", features = ["sync"] }
|
tokio = { version = "1.0.0", path = "../tokio", features = ["sync"] }
|
||||||
|
|
||||||
bytes = "1.0.0"
|
bytes = "1.0.0"
|
||||||
futures-core = "0.3.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`
|
slab = { version = "0.4.1", optional = true } # Backs `DelayQueue`
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
tokio = { version = "1.0.0", features = ["full"] }
|
tokio = { version = "1.0.0", path = "../tokio", features = ["full"] }
|
||||||
tokio-test = { version = "0.4.0" }
|
tokio-test = { version = "0.4.0", path = "../tokio-test" }
|
||||||
tokio-stream = { version = "0.1" }
|
tokio-stream = { version = "0.1", path = "../tokio-stream" }
|
||||||
|
|
||||||
async-stream = "0.3.0"
|
async-stream = "0.3.0"
|
||||||
futures = "0.3.0"
|
futures = "0.3.0"
|
||||||
|
|||||||
Reference in New Issue
Block a user