cargo-tree icon indicating copy to clipboard operation
cargo-tree copied to clipboard

Declare MSRV?

Open 8573 opened this issue 4 years ago • 1 comments

Trying to run cargo tree, I get this error message:

error: Found argument '--filter-platform' which wasn't expected, or isn't valid in this context
USAGE:
    cargo metadata --format-version <VERSION>
For more information try --help

This is when trying to run cargo tree with Rust 1.34.2 and its corresponding Cargo (Cargo 1.34.0), for minimum supported Rust version (MSRV) reasons. With current stable Rust and Cargo (Rust 1.42.0, Cargo 1.42.0), cargo tree works, because of which I suppose that cargo tree has an MSRV greater than 1.34.2 — maybe 1.41, by #86? I would like to request that cargo tree's MSRV be documented.

8573 avatar Mar 20 '20 03:03 8573

Yep, 1.41 is the current MSRV. The source of truth is what the CI build runs: https://github.com/sfackler/cargo-tree/blob/master/.circleci/config.yml#L5

sfackler avatar Mar 20 '20 11:03 sfackler