Skip to content

Commit deec637

Browse files
committed
base64ct: downgrade edition to 2021; MSRV 1.81
We had some complaints about the steep MSRV upgrade from 1.60 to 1.85 which occurred in the 1.7.0 release (#1695). This lowers the MSRV to just what we need for `core::error::Error` support, downgrading the edition in the process. We can bump edition in a future release, once 1.85 has been out longer. Closes #1695
1 parent 783dc92 commit deec637

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed

.github/workflows/base64ct.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
strategy:
2424
matrix:
2525
rust:
26-
- 1.85.0 # MSRV
26+
- 1.81.0 # MSRV
2727
- stable
2828
target:
2929
- thumbv7em-none-eabi
@@ -47,7 +47,7 @@ jobs:
4747
strategy:
4848
matrix:
4949
rust:
50-
- 1.85.0 # MSRV
50+
- 1.81.0 # MSRV
5151
- stable
5252
steps:
5353
- uses: actions/checkout@v4

base64ct/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ repository = "https://github.com/RustCrypto/formats"
1414
categories = ["cryptography", "encoding", "no-std", "parser-implementations"]
1515
keywords = ["crypto", "base64", "pem", "phc"]
1616
readme = "README.md"
17-
edition = "2024"
18-
rust-version = "1.85"
17+
edition = "2021"
18+
rust-version = "1.81"
1919

2020
[dev-dependencies]
2121
base64 = "0.22"

base64ct/README.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,13 @@ fixed-width line wrapping.
4141
- bcrypt Base64: `.`, `/`, `[A-Z]`, `[a-z]`, `[0-9]`
4242
- `crypt(3)` Base64: `.`, `-`, `[0-9]`, `[A-Z]`, `[a-z]`
4343

44+
## Minimum Supported Rust Version
45+
46+
This crate requires **Rust 1.81** at a minimum.
47+
48+
We may change the MSRV in the future, but it will be accompanied by a minor
49+
version bump.
50+
4451
## License
4552

4653
Licensed under either of:
@@ -65,7 +72,7 @@ dual licensed as above, without any additional terms or conditions.
6572
[build-image]: https://github.com/RustCrypto/formats/actions/workflows/base64ct.yml/badge.svg
6673
[build-link]: https://github.com/RustCrypto/formats/actions/workflows/base64ct.yml
6774
[license-image]: https://img.shields.io/badge/license-Apache2.0/MIT-blue.svg
68-
[rustc-image]: https://img.shields.io/badge/rustc-1.85+-blue.svg
75+
[rustc-image]: https://img.shields.io/badge/rustc-1.81+-blue.svg
6976
[chat-image]: https://img.shields.io/badge/zulip-join_chat-blue.svg
7077
[chat-link]: https://rustcrypto.zulipchat.com/#narrow/stream/300570-formats
7178

0 commit comments

Comments
 (0)