mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-09-25 12:00:35 +00:00
chore: remove some left over stream
feature code (#3300)
Removes the `stream` feature flag from `Cargo.toml` and removes the `futures-core` dependency. Once `Stream` lands in `std`, a feature flag is most likely not needed.
This commit is contained in:
parent
1b70507894
commit
5e5f513542
@ -21,7 +21,7 @@ categories = ["asynchronous", "testing"]
|
||||
publish = false
|
||||
|
||||
[dependencies]
|
||||
tokio = { version = "1.0.0", path = "../tokio", features = ["rt", "stream", "sync", "time", "test-util"] }
|
||||
tokio = { version = "1.0.0", path = "../tokio", features = ["rt", "sync", "time", "test-util"] }
|
||||
tokio-stream = { version = "0.1", path = "../tokio-stream" }
|
||||
async-stream = "0.3"
|
||||
|
||||
|
@ -29,7 +29,7 @@ full = ["codec", "compat", "io", "time", "net", "rt"]
|
||||
|
||||
net = ["tokio/net"]
|
||||
compat = ["futures-io",]
|
||||
codec = ["tokio/stream"]
|
||||
codec = []
|
||||
time = ["tokio/time","slab"]
|
||||
io = []
|
||||
rt = ["tokio/rt"]
|
||||
|
@ -40,7 +40,6 @@ full = [
|
||||
"rt",
|
||||
"rt-multi-thread",
|
||||
"signal",
|
||||
"stream",
|
||||
"sync",
|
||||
"time",
|
||||
]
|
||||
@ -83,7 +82,6 @@ signal = [
|
||||
"signal-hook-registry",
|
||||
"winapi/consoleapi",
|
||||
]
|
||||
stream = ["futures-core"]
|
||||
sync = []
|
||||
test-util = []
|
||||
time = []
|
||||
@ -95,7 +93,6 @@ pin-project-lite = "0.2.0"
|
||||
|
||||
# Everything else is optional...
|
||||
bytes = { version = "0.6.0", optional = true }
|
||||
futures-core = { version = "0.3.0", optional = true }
|
||||
once_cell = { version = "1.5.2", optional = true }
|
||||
memchr = { version = "2.2", optional = true }
|
||||
mio = { version = "0.7.6", optional = true }
|
||||
|
Loading…
x
Reference in New Issue
Block a user