Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --set flag to cargo msrv (find) #328

Open
foresterre opened this issue Mar 8, 2022 · 0 comments
Open

Add --set flag to cargo msrv (find) #328

foresterre opened this issue Mar 8, 2022 · 0 comments

Comments

@foresterre
Copy link
Owner

foresterre commented Mar 8, 2022

This flag should:

  • Set or update the MSRV when found, and the crate has a [package] table (ie is not a virtual workspace)
  • Retain the TOML styling if already exists
  • Add MSRV as rust-version key/value pair in the [package] table
    • Or: add as msrv key/value pair in the [package.metadata] table when before Rust 1.56 (<=1.55)

Alternative name ideas:

--update, --apply --apply-msrv

@foresterre foresterre changed the title Add --update flag to cargo msrv (find) Add --set flag to cargo msrv (find) Mar 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant