taiki-e / cargo-minimal-versions

Cargo subcommand for proper use of -Z minimal-versions and -Z direct-minimal-versions.
Apache License 2.0
46 stars 0 forks source link

Add ability to generate `Cargo.lock` with minimal versions #17

Open Mingun opened 1 year ago

Mingun commented 1 year ago

It seems that this is currently not possible. That would be useful for debugging things like that: https://github.com/rust-lang/cargo/issues/11765

taiki-e commented 12 months ago

I think it is okay to provide the ability to preserve the generated lock file, but as said in #18, providing the ability to just generate a lock file is problematic.

taiki-e commented 1 month ago

BTW, if there is no existing Cargo.lock, the cargo-minimal-versions already works that way.