-
Notifications
You must be signed in to change notification settings - Fork 925
[unstable option] required_version #3386
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
Comments
Would it make sense for required_version to support SemVer semantics similar to Cargo dependencies? This would make it easier to use in cases where CI agents are updated automatically. For instance, if somebody sets |
Why is this not stabilized yet? |
There should be semver match instead of just |
I think so too. |
Hey guys, willing to help. Should I open a PR to it? |
@ologbonowiwi thanks for offering to help. Before submitting a PR could you open an issue describing what you're planning to implement. I think it might be useful to discuss the approach before jumping in and working on this. |
And regarding the conditions:
Which of them still needs to be worked on? |
Now we have semver match Line 305 in c6c8159
Can someone help me out on drafting next steps to make this stable?
I assume we need to review design and implementation to check if it's sound and clean. Feel free to comment on #6066 if you see anything that could be fixed, and I can create a PR. Besides that, probably handle default value and and tests for it, afterward we should be ready to make this field stable. I'd love to hear your thoughts on it. cc: @ytmimi |
I'd say we're still a ways away from stabilizing this option. We'll want to get feedback on real world usage. The semver change has only recently been merged, but it's not been released to nightly yet. That'll happen the next time we sync rustfmt with rust-lang/rust. |
Tracking issue for required_version
The text was updated successfully, but these errors were encountered: