Skip to content

Commit ef6816c

Browse files
matzehds
andauthored
chore: bump tonic to 0.11 (#547)
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 <[email protected]>
1 parent 6cbd6db commit ef6816c

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

Cargo.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

console-api/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ keywords = [
2929
transport = ["tonic/transport"]
3030

3131
[dependencies]
32-
tonic = { version = "0.10", default-features = false, features = [
32+
tonic = { version = "0.11", default-features = false, features = [
3333
"prost",
3434
"codegen",
3535
"transport",
@@ -40,7 +40,7 @@ tracing-core = "0.1.17"
4040
futures-core = "0.3"
4141

4242
[dev-dependencies]
43-
tonic-build = { version = "0.10", default-features = false, features = [
43+
tonic-build = { version = "0.11", default-features = false, features = [
4444
"prost", "transport"
4545
] }
4646
# explicit dep so we can get the version with fixed whitespace.

console-subscriber/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ tokio = { version = "^1.21", features = ["sync", "time", "macros", "tracing"] }
3636
tokio-stream = { version = "0.1", features = ["net"] }
3737
thread_local = "1.1.3"
3838
console-api = { version = "0.6.0", path = "../console-api", features = ["transport"] }
39-
tonic = { version = "0.10", features = ["transport"] }
39+
tonic = { version = "0.11", features = ["transport"] }
4040
tracing-core = "0.1.24"
4141
tracing = "0.1.26"
4242
tracing-subscriber = { version = "0.3.17", default-features = false, features = ["fmt", "registry"] }
@@ -55,7 +55,7 @@ serde_json = "1"
5555
crossbeam-channel = "0.5"
5656

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

6060
[dev-dependencies]
6161
tokio = { version = "^1.21", features = ["full", "rt-multi-thread"] }

tokio-console/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ console-api = { version = "0.6.0", path = "../console-api", features = ["transpo
3838
clap = { version = "~4.1.14", features = ["wrap_help", "cargo", "derive", "env"] }
3939
clap_complete = "~4.1.6"
4040
tokio = { version = "1", features = ["full", "rt-multi-thread"] }
41-
tonic = { version = "0.10", features = ["transport"] }
41+
tonic = { version = "0.11", features = ["transport"] }
4242
futures = "0.3"
4343
ratatui = { version = "0.26.2", default-features = false, features = ["crossterm"] }
4444
tower = "0.4.12"

xtask/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ rust-version = "1.74.0"
77
publish = false
88

99
[dependencies]
10-
tonic-build = { version = "0.10", default-features = false, features = [
10+
tonic-build = { version = "0.11", default-features = false, features = [
1111
"prost", "transport"
1212
] }
1313
clap = { version = "~4.1.14", features = ["derive"] }

0 commit comments

Comments
 (0)