I used cargo-msrv to figure out what the current oldest rustc able to compile the project is, and it's 1.56.1, from October 2021. Going forward, I think it'd be good to ensure this is buildable using a Rust toolchain that's at least a year old.
This is motivated by Clippy adding lints for things that are only supported on fairly recent Rust. (In this case, it's inline variables in format strings.) We can disable those lints by adding a MSRV. Also it's just a good practice in general to be up-front about compiler support.
Checklist
General Contributing
[x] I have read the Code of Conduct and signed the CLA.
[x] I have added an entry to the RELEASE_NOTES.md file, or believe it's not necessary for this change.
Validation
I changed the GitHub tests to use the MSRV rust instead of the current Stable rust.
I used
cargo-msrv
to figure out what the current oldest rustc able to compile the project is, and it's 1.56.1, from October 2021. Going forward, I think it'd be good to ensure this is buildable using a Rust toolchain that's at least a year old.This is motivated by Clippy adding lints for things that are only supported on fairly recent Rust. (In this case, it's inline variables in format strings.) We can disable those lints by adding a MSRV. Also it's just a good practice in general to be up-front about compiler support.
Checklist
General Contributing
RELEASE_NOTES.md
file, or believe it's not necessary for this change.Validation
I changed the GitHub tests to use the MSRV rust instead of the current Stable rust.