Skip to content

Commit

Permalink
Raise required compiler to rust 1.60
Browse files Browse the repository at this point in the history
On older ones, cargo fails like this:

    error: failed to select a version for the requirement `syn = "^2.0.59"`
    candidate versions found which didn't match: 2.0.56, 2.0.55, 2.0.54, ...
    location searched: crates.io index
    required by package `monostate-impl v0.1.12`
  • Loading branch information
dtolnay committed Apr 15, 2024
1 parent 4098a7b commit 7b829d0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
strategy:
fail-fast: false
matrix:
rust: [nightly, beta, stable, 1.56.0]
rust: [nightly, beta, stable, 1.60.0]
timeout-minutes: 45
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ edition = "2021"
keywords = ["serde", "serialization"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/dtolnay/monostate"
rust-version = "1.56"
rust-version = "1.60"

[dependencies]
monostate-impl = { version = "=0.1.11", path = "impl" }
Expand Down
2 changes: 1 addition & 1 deletion impl/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description = "Implementation detail of the monostate crate"
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/dtolnay/monostate"
rust-version = "1.56"
rust-version = "1.60"

[lib]
proc-macro = true
Expand Down

0 comments on commit 7b829d0

Please sign in to comment.