feat(lib): rename unstable-stream feature to stream and enable by default
Closes #2034
This commit is contained in:
21
Cargo.toml
21
Cargo.toml
@@ -57,6 +57,7 @@ url = "1.0"
|
||||
default = [
|
||||
"__internal_flaky_tests",
|
||||
"runtime",
|
||||
"stream",
|
||||
]
|
||||
runtime = [
|
||||
"tcp",
|
||||
@@ -69,8 +70,8 @@ tcp = [
|
||||
"tokio/time",
|
||||
]
|
||||
|
||||
# unstable features
|
||||
unstable-stream = []
|
||||
# `impl Stream` for things
|
||||
stream = []
|
||||
|
||||
# internal features used in CI
|
||||
nightly = []
|
||||
@@ -80,7 +81,7 @@ __internal_happy_eyeballs_tests = []
|
||||
[package.metadata.docs.rs]
|
||||
features = [
|
||||
"runtime",
|
||||
"unstable-stream",
|
||||
"stream",
|
||||
]
|
||||
|
||||
[profile.release]
|
||||
@@ -99,12 +100,12 @@ required-features = ["runtime"]
|
||||
[[example]]
|
||||
name = "client_json"
|
||||
path = "examples/client_json.rs"
|
||||
required-features = ["runtime", "unstable-stream"]
|
||||
required-features = ["runtime", "stream"]
|
||||
|
||||
[[example]]
|
||||
name = "echo"
|
||||
path = "examples/echo.rs"
|
||||
required-features = ["runtime", "unstable-stream"]
|
||||
required-features = ["runtime", "stream"]
|
||||
|
||||
[[example]]
|
||||
name = "hello"
|
||||
@@ -119,7 +120,7 @@ required-features = ["runtime"]
|
||||
[[example]]
|
||||
name = "params"
|
||||
path = "examples/params.rs"
|
||||
required-features = ["runtime", "unstable-stream"]
|
||||
required-features = ["runtime", "stream"]
|
||||
|
||||
[[example]]
|
||||
name = "proxy"
|
||||
@@ -160,7 +161,7 @@ required-features = ["runtime"]
|
||||
[[example]]
|
||||
name = "web_api"
|
||||
path = "examples/web_api.rs"
|
||||
required-features = ["runtime", "unstable-stream"]
|
||||
required-features = ["runtime", "stream"]
|
||||
|
||||
|
||||
[[bench]]
|
||||
@@ -181,18 +182,18 @@ required-features = ["runtime"]
|
||||
[[bench]]
|
||||
name = "server"
|
||||
path = "benches/server.rs"
|
||||
required-features = ["runtime", "unstable-stream"]
|
||||
required-features = ["runtime", "stream"]
|
||||
|
||||
|
||||
[[test]]
|
||||
name = "client"
|
||||
path = "tests/client.rs"
|
||||
required-features = ["runtime", "unstable-stream"]
|
||||
required-features = ["runtime", "stream"]
|
||||
|
||||
[[test]]
|
||||
name = "integration"
|
||||
path = "tests/integration.rs"
|
||||
required-features = ["runtime", "unstable-stream"]
|
||||
required-features = ["runtime", "stream"]
|
||||
|
||||
[[test]]
|
||||
name = "server"
|
||||
|
||||
Reference in New Issue
Block a user