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

Filter out versions not compatible with current Rust version

Open tyilo opened this issue 10 months ago • 2 comments

Similar to what adding the following to .cargo/config.toml does:

[resolver]
incompatible-rust-versions = "fallback"

This could either be done with a new flag or by reading the users .cargo/config.toml.

tyilo avatar Mar 06 '25 13:03 tyilo

I think this is currently a nightly-only flag?

davidhewitt avatar Mar 07 '25 12:03 davidhewitt

I think this is currently a nightly-only flag?

Nope, this was stabilized in Cargo 1.84.0: https://blog.rust-lang.org/2025/01/09/Rust-1.84.0.html#cargo-considers-rust-versions-for-dependency-version-selection

tyilo avatar Mar 07 '25 12:03 tyilo