Skip to content

Commit

Permalink
chore: bump tonic to 0.11 (#547)
Browse files Browse the repository at this point in the history
Updates the dependencies of all crates to use `tonic` and
`tonic-build` 0.11.

BREAKING CHANGE:
This is a breaking change for users of `console-api` and
`console-subscriber`, as it changes the public `tonic` dependency to a
semver-incompatible version. This breaks compatibility with `tonic`
0.10.x.

Co-authored-by: Hayden Stainsby <hds@caffeineconcepts.com>
  • Loading branch information
matze and hds authored May 16, 2024
1 parent 6cbd6db commit ef6816c
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions console-api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ keywords = [
transport = ["tonic/transport"]

[dependencies]
tonic = { version = "0.10", default-features = false, features = [
tonic = { version = "0.11", default-features = false, features = [
"prost",
"codegen",
"transport",
Expand All @@ -40,7 +40,7 @@ tracing-core = "0.1.17"
futures-core = "0.3"

[dev-dependencies]
tonic-build = { version = "0.10", default-features = false, features = [
tonic-build = { version = "0.11", default-features = false, features = [
"prost", "transport"
] }
# explicit dep so we can get the version with fixed whitespace.
Expand Down
4 changes: 2 additions & 2 deletions console-subscriber/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ tokio = { version = "^1.21", features = ["sync", "time", "macros", "tracing"] }
tokio-stream = { version = "0.1", features = ["net"] }
thread_local = "1.1.3"
console-api = { version = "0.6.0", path = "../console-api", features = ["transport"] }
tonic = { version = "0.10", features = ["transport"] }
tonic = { version = "0.11", features = ["transport"] }
tracing-core = "0.1.24"
tracing = "0.1.26"
tracing-subscriber = { version = "0.3.17", default-features = false, features = ["fmt", "registry"] }
Expand All @@ -55,7 +55,7 @@ serde_json = "1"
crossbeam-channel = "0.5"

# Only for the web feature:
tonic-web = { version = "0.10.2", optional = true }
tonic-web = { version = "0.11", optional = true }

[dev-dependencies]
tokio = { version = "^1.21", features = ["full", "rt-multi-thread"] }
Expand Down
2 changes: 1 addition & 1 deletion tokio-console/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ console-api = { version = "0.6.0", path = "../console-api", features = ["transpo
clap = { version = "~4.1.14", features = ["wrap_help", "cargo", "derive", "env"] }
clap_complete = "~4.1.6"
tokio = { version = "1", features = ["full", "rt-multi-thread"] }
tonic = { version = "0.10", features = ["transport"] }
tonic = { version = "0.11", features = ["transport"] }
futures = "0.3"
ratatui = { version = "0.26.2", default-features = false, features = ["crossterm"] }
tower = "0.4.12"
Expand Down
2 changes: 1 addition & 1 deletion xtask/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ rust-version = "1.74.0"
publish = false

[dependencies]
tonic-build = { version = "0.10", default-features = false, features = [
tonic-build = { version = "0.11", default-features = false, features = [
"prost", "transport"
] }
clap = { version = "~4.1.14", features = ["derive"] }
Expand Down

0 comments on commit ef6816c

Please sign in to comment.