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

feature: cargo-msrv suggest #726

Closed
foresterre opened this issue Jun 29, 2023 · 0 comments
Closed

feature: cargo-msrv suggest #726

foresterre opened this issue Jun 29, 2023 · 0 comments

Comments

@foresterre
Copy link
Owner

{
    type: "suggestion",
    suggestion: 'increment-msrv',
    new_msrv: '1.58'
    reasons: [
        { reason: 'date-rule', 'description': 'The MSRV is defined as the latest release, released at least 1 year ago', source: { type: 'file', path: 'Cargo.toml', key: 'package.metadata.msrv.rules.date' } }
    ]
}
{
    type: "suggestion",
    suggestion: 'increment-msrv',
    new_msrv: '1.58'
    reasons: [
        { reason: 'last-minus-n-rule', 'description': 'The MSRV is defined as the latest release - 2', source: { type: 'file', path: 'Cargo.toml', key: 'package.metadata.msrv.rules.date' } }
    ]
}

cargo msrv suggest --apply

cargo msrv suggest --include "increment-msrv" --exclude "x"

cargo msrv suggest --export suggestions.json
cargo msrv suggest --import suggestions.json

See also: #281
Probably hould be preceded by: #725

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant