Skip to content

Commit

Permalink
Require Rust 1.80+ going forward.
Browse files Browse the repository at this point in the history
  • Loading branch information
obi1kenobi committed Oct 18, 2024
1 parent cc74071 commit 02a5769
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ jobs:
#
# Also make sure to update the MSRV in the cargo-semver-checks-action CI:
# https://github.com/obi1kenobi/cargo-semver-checks-action/blob/main/.github/workflows/test-action.yml#L18
toolchain: ["1.77", "1.78", "1.79", "1.80", "1.81", "stable", "beta"]
toolchain: ["1.80", "1.81", "stable", "beta"]
experimental: [false]
include:
- toolchain: "nightly"
Expand Down Expand Up @@ -1742,7 +1742,7 @@ jobs:
id: toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: "1.76"
toolchain: "1.79"
rustflags: ""
cache: false

Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ repository = "https://github.com/obi1kenobi/cargo-semver-checks"
readme = "./README.md"
keywords = ["semver", "linter", "check", "crate", "cargo"]
categories = ["command-line-utilities", "development-tools::cargo-plugins"]
rust-version = "1.77"
rust-version = "1.80"
exclude = [".github/", "brand/", "scripts/", "test_crates/", "test_outputs/", "tests/"]

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
trustfall = "0.7.1"
trustfall_rustdoc = { version = "0.16.4", default-features = false, features = ["v28", "v29", "v30", "v32", "v33", "v34", "v35", "v36", "rayon", "rustc-hash"] }
trustfall_rustdoc = { version = "0.16.4", default-features = false, features = ["v30", "v32", "v33", "v34", "v35", "v36", "rayon", "rustc-hash"] }
clap = { version = "4.5.17", features = ["derive", "cargo"] }
serde_json = "1.0.128"
anyhow = "1.0.89"
Expand Down
2 changes: 1 addition & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ impl GlobalConfig {
Self {
level: None,
handlebars: make_handlebars_registry(),
minimum_rustc_version: semver::Version::new(1, 77, 0),
minimum_rustc_version: semver::Version::new(1, 80, 0),
stdout: AutoStream::new(Box::new(std::io::stdout()), stdout_choice),
stderr: AutoStream::new(Box::new(std::io::stderr()), stderr_choice),
feature_flags: HashSet::new(),
Expand Down

0 comments on commit 02a5769

Please sign in to comment.