Skip to content

Commit

Permalink
bump msrv to 1.74
Browse files Browse the repository at this point in the history
  • Loading branch information
joshka committed Apr 8, 2024
1 parent b06393a commit 25e1efc
Show file tree
Hide file tree
Showing 8 changed files with 51 additions and 34 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
os: [ubuntu-latest, macos-latest, windows-latest]
rust: [stable]
include:
- rust: 1.70.0
- rust: 1.74.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
18 changes: 8 additions & 10 deletions console-api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@ name = "console-api"
version = "0.6.0"
license = "MIT"
edition = "2021"
rust-version = "1.70.0"
authors = ["Eliza Weisman <eliza@buoyant.io>", "Tokio Contributors <team@tokio.rs>",]
rust-version = "1.74.0"
authors = [
"Eliza Weisman <eliza@buoyant.io>",
"Tokio Contributors <team@tokio.rs>",
]
readme = "README.md"
repository = "https://github.com/tokio-rs/console/"
homepage = "https://github.com/tokio-rs/console/blob/main/console-api"
Expand All @@ -16,13 +19,7 @@ categories = [
"development-tools::profiling",
"asynchronous",
]
keywords = [
"tracing",
"tokio-console",
"debugging",
"async",
"tonic",
]
keywords = ["tracing", "tokio-console", "debugging", "async", "tonic"]

[features]
# Generate code that is compatible with Tonic's `transport` module.
Expand All @@ -41,7 +38,8 @@ futures-core = "0.3"

[dev-dependencies]
tonic-build = { version = "0.10", default-features = false, features = [
"prost", "transport"
"prost",
"transport",
] }
# explicit dep so we can get the version with fixed whitespace.
prost-build = "0.12.0"
Expand Down
2 changes: 1 addition & 1 deletion console-api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ console project.
## Supported Rust Versions

The Tokio console is built against the latest stable release. The minimum
supported version is 1.70. The current Tokio console version is not guaranteed
supported version is 1.74. The current Tokio console version is not guaranteed
to build on Rust versions earlier than the minimum supported version.

## License
Expand Down
20 changes: 15 additions & 5 deletions console-subscriber/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@ name = "console-subscriber"
version = "0.2.0"
license = "MIT"
edition = "2021"
rust-version = "1.70.0"
authors = ["Eliza Weisman <eliza@buoyant.io>", "Tokio Contributors <team@tokio.rs>",]
rust-version = "1.74.0"
authors = [
"Eliza Weisman <eliza@buoyant.io>",
"Tokio Contributors <team@tokio.rs>",
]
readme = "README.md"
repository = "https://github.com/tokio-rs/console/"
homepage = "https://github.com/tokio-rs/console/blob/main/console-subscriber"
Expand Down Expand Up @@ -35,13 +38,20 @@ crossbeam-utils = "0.8.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"] }
console-api = { version = "0.6.0", path = "../console-api", features = [
"transport",
] }
tonic = { version = "0.10", features = ["transport"] }
tracing-core = "0.1.24"
tracing = "0.1.26"
tracing-subscriber = { version = "0.3.17", default-features = false, features = ["fmt", "registry"] }
tracing-subscriber = { version = "0.3.17", default-features = false, features = [
"fmt",
"registry",
] }
futures-task = { version = "0.3", default-features = false }
hdrhistogram = { version = "7.3.0", default-features = false, features = ["serialization"] }
hdrhistogram = { version = "7.3.0", default-features = false, features = [
"serialization",
] }
# The parking_lot dependency is renamed, because we want our `parking_lot`
# feature to also enable `tracing-subscriber`'s parking_lot feature flag.
parking_lot_crate = { package = "parking_lot", version = "0.12", optional = true }
Expand Down
2 changes: 1 addition & 1 deletion console-subscriber/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ console project.
## Supported Rust Versions

The Tokio console is built against the latest stable release. The minimum
supported version is 1.70. The current Tokio console version is not guaranteed
supported version is 1.74. The current Tokio console version is not guaranteed
to build on Rust versions earlier than the minimum supported version.

## License
Expand Down
34 changes: 21 additions & 13 deletions tokio-console/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@ version = "0.1.10"
license = "MIT"
repository = "https://github.com/tokio-rs/console"
edition = "2021"
rust-version = "1.70.0"
authors = ["Eliza Weisman <eliza@buoyant.io>", "Tokio Contributors <team@tokio.rs>",]
rust-version = "1.74.0"
authors = [
"Eliza Weisman <eliza@buoyant.io>",
"Tokio Contributors <team@tokio.rs>",
]
readme = "README.md"
default-run = "tokio-console"
homepage = "https://github.com/tokio-rs/console/tree/main/tokio-console"
Expand All @@ -18,13 +21,7 @@ categories = [
"command-line-utilities",
"asynchronous",
]
keywords = [
"tracing",
"tokio-console",
"debugging",
"console",
"async",
]
keywords = ["tracing", "tokio-console", "debugging", "console", "async"]

[package.metadata.wix]
upgrade-guid = "A36733B4-B8CD-440A-8E06-549EAE8A6695"
Expand All @@ -33,21 +30,32 @@ license = false
eula = false

[dependencies]
console-api = { version = "0.6.0", path = "../console-api", features = ["transport"] }
clap = { version = "4.4.18", features = ["wrap_help", "cargo", "derive", "env"] }
console-api = { version = "0.6.0", path = "../console-api", features = [
"transport",
] }
clap = { version = "4.4.18", features = [
"wrap_help",
"cargo",
"derive",
"env",
] }
clap_complete = "4.4.10"
tokio = { version = "1", features = ["full", "rt-multi-thread"] }
tonic = { version = "0.10", features = ["transport"] }
futures = "0.3"
ratatui = { version = "0.26.1", default-features = false, features = ["crossterm"] }
ratatui = { version = "0.26.1", default-features = false, features = [
"crossterm",
] }
tower = "0.4.12"
tracing = "0.1"
tracing-subscriber = { version = "0.3" }
tracing-journald = { version = "0.2", optional = true }
prost-types = "0.12"
crossterm = { version = "0.27.0", features = ["event-stream"] }
color-eyre = { version = "0.6", features = ["issue-url"] }
hdrhistogram = { version = "7.3.0", default-features = false, features = ["serialization"] }
hdrhistogram = { version = "7.3.0", default-features = false, features = [
"serialization",
] }
# Keep this in sync with the version from `tonic`.
# Because we inspect the error from tonic, we need to make sure that the
# version of h2 we use is compatible with the version of tonic we use.
Expand Down
2 changes: 1 addition & 1 deletion tokio-console/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ console project.
## Supported Rust Versions

The Tokio console is built against the latest stable release. The minimum
supported version is 1.70. The current Tokio console version is not guaranteed
supported version is 1.74. The current Tokio console version is not guaranteed
to build on Rust versions earlier than the minimum supported version.

## License
Expand Down
5 changes: 3 additions & 2 deletions xtask/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ name = "xtask"
version = "0.1.0"
license = "MIT"
edition = "2021"
rust-version = "1.70.0"
rust-version = "1.74.0"
publish = false

[dependencies]
tonic-build = { version = "0.10.2", default-features = false, features = [
"prost", "transport"
"prost",
"transport",
] }
clap = { version = "4.4.18", features = ["derive"] }
color-eyre = "0.6.2"

0 comments on commit 25e1efc

Please sign in to comment.