Testing crate MSRV in CI
⚓ Rust 📅 2025-09-05 👤 surdeus 👁️ 11I would like to get advice for the following problems:
- Imagine a repository with one crate. Assuming that it provides the
rust-versionfield, how would you test it in with therust-versiontoolchain without manually duplicating the version in CI config? Bonus points if it shares CI steps withstabletoolchain and other variables in the testing matrix. - A more complex setup: now we have a repository with several crates which have potentially different MSRVs which share the same workspace. How CI job from the previous step should accommodate for this? Remove the workspace
Cargo.toml?
Right now in RustCrypto we specify MSRV manually (e.g. see this config) and I would like to find a better alternative.
1 post - 1 participant
🏷️ Rust_feed