-
-
Notifications
You must be signed in to change notification settings - Fork 59
feat(derive): add usage::Config derive for settings declared in code #1180
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
Merged
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
e5eba83
feat(derive): add usage::Config derive for settings declared in code
jdx 65b4975
feat(derive): add parse_with_settings process entry
jdx 365ecad
fix(derive): include the negate spelling in view selector matching
jdx 7f33648
fix(help): do not repeat a negate-only flag's name before its spelling
jdx 52d40ef
fix(docs): show a negate-only flag as the spelling a reader types
jdx 82fe905
fix(docs): give a negate-only flag a reference heading
jdx 9b2e76c
fix(derive): refuse a setting declaration that only fails at run time
jdx 6cc3e50
fix(config): report a value too wide for its field, and render only K…
jdx 4ea13a1
fix(help): write a negate-only flag's spelling once, and without a le…
jdx 24f0f2c
docs(derive): link the settings guide rather than a private module
jdx 1ff54de
feat(config)!: remove the build-time codegen backend
jdx e4a73cf
refactor(conformance): build a corpus prop on PropMeta::new
jdx 9212e2e
fix(derive): refuse a default that only the merge would have accepted
jdx f1d30fb
fix(derive): hold a list default against its choices item by item
jdx 7db63b3
fix(derive): one spelling for a string setting's values, so a default…
jdx c787f8a
fix(derive): report deprecations from the settings entry too
jdx 230c793
docs(rust): state how a default and a choice are spelled
jdx c6cca4c
test(derive): assert the docs-only metadata survives the round trip
jdx c36b7ee
fix(derive): refuse a default the field's own type cannot hold
jdx ac682c6
fix(config)!: refuse two settings that answer to one name
jdx e95de43
fix(derive): measure a list setting's choice against its item type
jdx fe17366
test(derive): pin how the width check and a `ty` override interact
jdx fd71aa4
fix(derive): name the right mistake when one field collides with itself
jdx 3e8a7c5
fix(derive): refuse a `ty` the field could never read
jdx 7416f41
fix(derive): compare a `ty` override's item types, not just its outer…
jdx 2d42470
test(derive): assert the spec endpoint answers with the settings
jdx b656c74
docs(rust): settle that an alias is written in full
jdx 1e831bb
fix(derive): measure `u64` too, which a `ty` override can leave ungua…
jdx File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.