Skip to content

Commit

Permalink
chore(deps): bump tonic to 0.11 and raise MSRV to 1.70
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
matze committed Apr 20, 2024
1 parent 4d91f5d commit c8d749d
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ jobs:
os: [ubuntu-latest, macos-latest, windows-latest]
rust: [stable]
include:
# Make 1.64 MSRV, as it's Tonic 0.10's MSRV.
- rust: 1.64.0
# Make 1.70 MSRV, as it's Tonic 0.11's MSRV.
- rust: 1.70.0
os: ubuntu-latest
# Try to build on the latest nightly. This job is allowed to fail, but
# it's useful to help catch bugs in upcoming Rust versions.
Expand Down
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.20.1", 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.64.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 c8d749d

Please sign in to comment.