github foresterre/cargo-msrv v0.20.0-beta.1
cargo-msrv 0.20.0-beta.1

pre-release3 hours ago

Changelog

Added

  • Added the bundled release source, which uses a release index bundled with cargo-msrv
  • Added bundled unless outdated release source which also uses the release index bundled with cargo-msrv, but falls back to fetching from a newer release source if the age of the bundled index is too old (defaults to 7 days)
  • Added github release source, which fetches the known set of Rust versions from Rust's GitHub releases page
  • Include the bundled release index by default (so there is a source to fall back to if no other release source cargo feature is enabled)
  • Properly support Cargo workspaces for cargo msrv find, verify, show and set (excluding custom check command)
  • Added cargo msrv set --workspace-msrv, which sets the MSRV in the workspace.package table of the workspace root of the Cargo manifest
  • Subcommand results now report the package they belong to

Changed

  • Updated rust-releases to 0.34.0
  • If toolchain target information is available from the selected rust-releases index, cargo-msrv will now only include toolchains which have the provided target (defaults to the host) and components
  • The --workspace, --package and --exclude flags are now given after the subcommand, like cargo does (cargo msrv find --package a), and are accepted by find, verify, show and set
  • cargo msrv find --write-toolchain-file now writes the toolchain file to the workspace root
  • cargo msrv find --ignore-lockfile and cargo msrv verify --ignore-lockfile now move the workspace's lockfile
  • cargo msrv set and cargo msrv find --write-msrv no longer overwrite a rust-version which is inherited from the workspace
  • Invalid workspace flags outside a Cargo project are now reported as errors
  • A Cargo project for which cargo metadata fails is now reported as an error, instead of being treated as a project without Cargo
  • The changelog release index source is now a conditional compilation 'features' flag
  • Rust versions now reject leading zeros, e.g. 1.05, like Cargo

Fixed

  • The sha_short build metadata is now reported again by the meta event
  • Fix issue where cargo-msrv find could no longer be used outside a Cargo project, unless --min was provided (must still be runnable via rustup run)
  • The edition field inherited from workspace.package is now used to limit the search space of cargo msrv find

Don't miss a new cargo-msrv release

NewReleases is sending notifications on new releases.