Skip to content

Commit

Permalink
msrv: bump to Rust 1.60
Browse files Browse the repository at this point in the history
This is seemingly needed for the soundness fix for #194. I spent zero
time trying to find what the real MSRV was or to find another way to fix
the soundness bug while maintaining the 1.41 MSRV because I didn't care
to. Rust 1.60 is conservative enough as it is.
  • Loading branch information
BurntSushi committed Oct 6, 2023
1 parent 52cc70c commit dd41ee2
Show file tree
Hide file tree
Showing 3 changed files with 4 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 @@ -51,7 +51,7 @@ jobs:
include:
- build: pinned
os: ubuntu-latest
rust: 1.41.1
rust: 1.60.0
- build: stable
os: ubuntu-latest
rust: stable
Expand Down
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ categories = ["encoding", "parsing", "no-std"]
keywords = ["byte", "endian", "big-endian", "little-endian", "binary"]
license = "Unlicense OR MIT"
exclude = ["/ci/*"]
edition = "2018"
edition = "2021"
rust-version = "1.60"

[lib]
name = "byteorder"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ byteorder = { version = "1", default-features = false }

### Minimum Rust version policy

This crate's minimum supported `rustc` version is `1.41.1`.
This crate's minimum supported `rustc` version is `1.60.0`.

The current policy is that the minimum Rust version required to use this crate
can be increased in minor version updates. For example, if `crate 1.0` requires
Expand Down

0 comments on commit dd41ee2

Please sign in to comment.