Skip to content

Commit

Permalink
Bump MSRV to 1.60
Browse files Browse the repository at this point in the history
Fixes the build error due to log 0.4.21 requiring a newer version:

    error: package `log v0.4.21` cannot be built because it requires rustc 1.60.0 or newer, while the currently active rustc version is 1.56.1
  • Loading branch information
rnestler committed May 20, 2024
1 parent e29c40f commit bf32082
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
build_and_test:
runs-on: ubuntu-22.04
container: rust:1.56
container: rust:1.60
steps:
- uses: actions/checkout@v3
- run: cargo build
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ Possible log types:
- `[fixed]` for any bug fixes.
- `[security]` to invite users to upgrade in case of vulnerabilities.

### Unreleased

- [changed] Require at lest Rust 1.60

### V0.9.0 (2023-05-07)

- [changed] Changed the way sensor types are exported.
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ include = [
"AUTHORS.md",
]
edition = "2021"
rust-version = "1.56"
rust-version = "1.60"

[dependencies]
log = "^0.4"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ serialization and deserialization to/from JSON using Serde.
- Crate Documentation: https://docs.rs/spaceapi/
- SpaceAPI Documentation: https://spaceapi.io/pages/docs.html

This library requires Rust 1.56.0 or newer.
This library requires Rust 1.60.0 or newer.


## Usage
Expand Down
2 changes: 1 addition & 1 deletion clippy.toml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
msrv = "1.56"
msrv = "1.60"

0 comments on commit bf32082

Please sign in to comment.