Skip to content

Commit 3c96213

Browse files
committed
Add rust-version to Cargo.toml
1 parent 98f3c6a commit 3c96213

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ homepage = "https://docs.rs/encoding_rs/"
1111
repository = "https://github.com/hsivonen/encoding_rs"
1212
keywords = ["encoding", "web", "unicode", "charset"]
1313
categories = ["text-processing", "encoding", "web-programming", "internationalization"]
14+
rust-version = "1.36"
1415

1516
[features]
1617
default = ["alloc"]

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,8 +367,9 @@ as semver-breaking, because this crate depends on `cfg-if`, which doesn't
367367
appear to treat MSRV changes as semver-breaking, so it would be useless for
368368
this crate to treat MSRV changes as semver-breaking.
369369

370-
As of 2021-02-04, MSRV appears to be Rust 1.36.0 for using the crate and
370+
As of 2024-04-04, MSRV appears to be Rust 1.36.0 for using the crate and
371371
1.42.0 for doc tests to pass without errors about the global allocator.
372+
With the `simd-accel` feature, the MSRV is even higher.
372373

373374
## Compatibility with rust-encoding
374375

@@ -441,6 +442,7 @@ To regenerate the generated code:
441442

442443
* Use the `portable_simd` nightly feature of the standard library instead of the `packed_simd` crate. Only affects the `simd-accel` optional nightly feature.
443444
* Internal documentation improvements and minor code improvements around `unsafe`.
445+
* Added `rust-version` to `Cargo.toml`.
444446

445447
### 0.8.33
446448

0 commit comments

Comments
 (0)