# foresterre/cargo-msrv

🦀 Find the minimum supported Rust version (MSRV) for your project

Repository: https://github.com/foresterre/cargo-msrv
Canonical: https://ross.abutalabs.com/products/cargo-msrv
Homepage: https://foresterre.github.io/cargo-msrv
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: hacktoberfest, msrv, cargo, cli, cargo-msrv, rust, rust-lang, rust-tools
Last push: 2026-08-24T16:02:41+00:00

## Health v2 (maintenance only)
Score: 91/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 76, longevity 100
- inputs: {"age_days": 2530, "days_push": 9, "days_rel": 162, "gap_med": 7.5, "n_releases_24m": 15}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1241, forks 45 (observed 2026-08-28T04:04:06.378517+00:00)

## What it is
cargo-msrv is a Cargo subcommand that finds, sets, shows, and verifies the Minimum Supported Rust Version (MSRV) of a Rust crate by testing it against different Rust toolchains. It uses bisect or linear search strategies over available stable Rust releases and supports Cargo workspaces and JSON output.

## Use cases
- find the minimum supported Rust version for my crate
- verify my project builds with its declared rust-version
- set the MSRV in Cargo.toml automatically
- check which Rust toolchain my dependencies require
- determine the oldest Rust compiler my code compiles with
- list MSRVs of my crate's dependencies

## When to choose
- you maintain a Rust library and want to declare an accurate rust-version
- you need to verify CI compatibility across Rust toolchains
- you want to support users on older Rust compilers
- you manage Cargo workspaces with multiple packages needing MSRV checks

## When to avoid
- you need to manage non-Rust toolchains or language versions
- you want a general dependency version audit rather than MSRV detection
- your environment lacks rustup, which find and verify require

## Facets
- artifact type: cli-tool
- maturity: active
- function: cli, developer-tools, testing, build-tool
- domain: developer-tools, programming-languages
- platform: cli, rust, cross-platform
- tags: rust, msrv, cargo, toolchain, rustup, version-compatibility, command-line, docker

## Member repositories
- foresterre/cargo-msrv (main) score 91

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:06.378517+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T05:08:28.920469+00:00, confidence not recorded.
  - readme: https://github.com/foresterre/cargo-msrv (fetched 2026-08-28T04:04:06.378517+00:00, sha 8f4a2ab64765)
  - homepage: https://foresterre.github.io/cargo-msrv (fetched 2026-08-29T12:20:27.439334+00:00, sha e45634e5516a)
  - site_page: http://gribnau.dev/cargo-msrv/getting-started/index.html (fetched 2026-08-29T12:20:27.450101+00:00, sha a389e6dedb8f)
  - site_page: http://gribnau.dev/cargo-msrv/getting-started/installation.html (fetched 2026-08-29T12:20:27.451991+00:00, sha 3cda9fcf1319)
  - site_page: http://gribnau.dev/cargo-msrv/getting-started/quick-start.html (fetched 2026-08-29T12:20:27.453665+00:00, sha ade75bf64579)
  - site_page: http://gribnau.dev/cargo-msrv/getting-started/cargo-workspace.html (fetched 2026-08-29T12:20:27.455141+00:00, sha 0ecf3c95a619)
  - site_page: http://gribnau.dev/cargo-msrv/getting-started/rust-releases-proxy.html (fetched 2026-08-29T12:20:27.456594+00:00, sha e2531d53d962)
  - registry_crates: https://crates.io/api/v1/crates/cargo-msrv (fetched 2026-08-29T12:20:27.463183+00:00, sha 241f4c79ba63)
  - site_page: http://gribnau.dev/cargo-msrv/releases/index.html (fetched 2026-08-29T12:20:27.458062+00:00, sha 1e7f9a9bfc45)
  - site_page: http://gribnau.dev/cargo-msrv/releases/v0.15_v0.16_highlights.html (fetched 2026-08-29T12:20:27.459588+00:00, sha b634db25e0a7)
- Data as of 2026-08-30T08:39:29.467469+00:00.
