Skip to content

Commit

Permalink
chore: Disable unused tokio-stream feature (#2129)
Browse files Browse the repository at this point in the history
  • Loading branch information
tottoto authored Jan 9, 2025
1 parent 260722a commit 85b8f69
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
3 changes: 1 addition & 2 deletions tonic-health/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,11 @@ transport = []
[dependencies]
prost = "0.13"
tokio = {version = "1.0", features = ["sync"]}
tokio-stream = {version = "0.1", features = ["sync"]}
tokio-stream = {version = "0.1", default-features = false, features = ["sync"]}
tonic = { version = "0.13.0", path = "../tonic", default-features = false, features = ["codegen", "prost"] }

[dev-dependencies]
tokio = {version = "1.0", features = ["rt-multi-thread", "macros"]}
tokio-stream = "0.1"
prost-types = "0.13.0"

[lints]
Expand Down
3 changes: 2 additions & 1 deletion tonic-reflection/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,11 @@ default = ["server"]
prost = "0.13"
prost-types = {version = "0.13", optional = true}
tokio = { version = "1.0", features = ["sync", "rt"], optional = true }
tokio-stream = {version = "0.1", features = ["net"], optional = true }
tokio-stream = {version = "0.1", default-features = false, optional = true }
tonic = { version = "0.13.0", path = "../tonic", default-features = false, features = ["codegen", "prost"] }

[dev-dependencies]
tokio-stream = {version = "0.1", default-features = false, features = ["net"]}
tonic = { version = "0.13.0", path = "../tonic", default-features = false, features = ["transport"] }

[lints]
Expand Down
2 changes: 1 addition & 1 deletion tonic-web/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ version = "0.13.0"
[dependencies]
base64 = "0.22"
bytes = "1"
tokio-stream = "0.1"
tokio-stream = { version = "0.1", default-features = false }
http = "1"
http-body = "1"
pin-project = "1"
Expand Down

0 comments on commit 85b8f69

Please sign in to comment.