cargo-msrv
« Back to VersTracker
Description:
Find the minimum supported Rust version (MSRV) for your project
Type: Formula  |  Latest Version: 0.18.4@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: rust cargo msrv toolchain compatibility developer-tools
Install: brew install cargo-msrv
About:
cargo-msrv is a Cargo subcommand that determines the minimum supported Rust version (MSRV) for a Rust crate by analyzing its dependencies and code. It automates the process of verifying compatibility across different Rust toolchain versions, ensuring your project can be built with the specified minimum version. This helps maintain broader compatibility and prevents regressions for users on older stable releases.
Key Features:
  • Automatically detects the MSRV by checking dependency compatibility
  • Verifies the MSRV against your crate's Cargo.toml metadata
  • Provides actionable suggestions to fix MSRV mismatches
  • Supports checking against a specific Rust version or the latest stable
Use Cases:
  • Publishing libraries that need to guarantee support for a specific Rust version
  • CI pipelines to enforce MSRV compatibility on pull requests
  • Diagnosing build failures caused by dependencies requiring newer Rust versions
Alternatives:
  • cargo-msrv verify – Built-in Cargo command for checking version compatibility, but less automated and feature-rich than cargo-msrv
License: Apache-2.0 OR MIT
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, arm64_ventura, sonoma, ventura, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit
Sep 12, 2025 5:40pm 0 VERSION_BUMP 92d66e5f
Jan 1, 2025 2:55pm 0 NEW 71b8d336