fix(deps): Update MSRV to 1.85 and migrate to Edition 2024 - #305
fix(deps): Update MSRV to 1.85 and migrate to Edition 2024#305nabetti1720 wants to merge 1 commit into
Conversation
|
The idea behind the MSRV-aware resolver is that if clients can select a compatible version of |
|
I tried a few approaches after reverting the CI's MSRV to 1.85.0, but none of them seem to work. I suppose the only remaining option is to pin |
|
Use the MSRV as your current rust version when running the update, and the MSRV-aware resolver should select compatible versions |
bfe17a0 to
a9e872c
Compare
|
If RustVersion remains set to Cargo.toml of the latest commit: After version adjustments: |
|
1.75 is definitely wrong. All of the dependencies are 2024 edition so it should be bumped to 1.85 and the edition bumped to 2024 too (the MSRV aware resolver wasn't introduced until 1.84 anyway) |
a9e872c to
82d2a08
Compare
Issue # (if available)
Fixed #303
Description of changes
Update the crate to Edition 2024 and set the MSRV to 1.85, aligning it with current dependency requirements.
This also enables the MSRV-aware resolver. By regenerating
Cargo.lockusing Rust 1.85, Cargo can select dependency versions compatible with the declared MSRV; consequently, you do not need to raise the crate's MSRV to 1.89 simply because the latest version ofaesrequires Rust 1.89.In the new version, parts of the code were automatically corrected by
cargo fix, so they appear as diffs.