awesome-rust
awesome-rust copied to clipboard
Mark required rustc version
Something like:
It would be nice to get crates.io support for this (rust-lang/crates.io#168) but that might take a while.
If support for this was to be introduced to crates.io, I am all for, although it would require a lot of work to retroactively add the badges to older entries
Once https://github.com/rust-lang/rust/issues/65262 gets implemented we could possibly feed off that. Maybe write a tool to grab Cargo.toml files and look for the relevant field.
Once rust-lang/rust#65262 gets implemented we could possibly feed off that. Maybe write a tool to grab
Cargo.tomlfiles and look for the relevant field.
Just wanted to remind that the RFC was implemented
Once rust-lang/rust#65262 gets implemented we could possibly feed off that. Maybe write a tool to grab
Cargo.tomlfiles and look for the relevant field.Just wanted to remind that the RFC was implemented
Feel like writing the tool?
So I was checking the docs, seems like the idea of rust-lang/rust/issues/65262 is "Minimal Version" instead of "stable vs nightly".
Also, this solution is dependent on the field to be available in each repo. for example, the first item in the list, alacritty, doesn't have the field in the main cargo file.
The plans that I think right now are:
- Make PRs in each repo, asking to include the field
rust-versionto add a badge "MSRV 1.x.xx" or similar - Wait until crates.io provides another way to check the rust version
- Manually add the badge by testing each repo, stating the time it was last tested
Personally vote for option 2. Also, if someone else has another plan of action would be good to check.