Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/clap-rs/clap

A full featured, fast Command Line Argument Parser for Rust
https://github.com/clap-rs/clap

refactor: Make Id consts more universal

9b9e57628dcd440650bad91a041d40eb0dc369e3 authored over 2 years ago
fix: Prefer more usable `&str` for reflection

The downside is we can't skip allocations with
- `ValueEnum` default values
- Vaid subcommands

...

1bbf07e574b046503a4e3cc3f0bc221c46399fc2 authored over 2 years ago
perf: Switch Str to use Box<Str>

Impact:
- Binary size: 556.6 KiB to 578.4 KiB 565.3 KiB
- build time: 9.6393 us
- parse time: 12...

71752f56ea41b83ec41bad1fe5e51691fabf6cae authored over 2 years ago
fix: Switch to owned types

Impact:
- Binary size: 556.6 KiB to 578.4 KiB
- build time: 6.4950 us (7% slower)
- parse time: ...

85f541d7894f8a9e272209084e16b0f961e9c807 authored over 2 years ago
Merge pull request #4102 from grant0417/master

feat(clap_complete_fig): Escape all strings

fefeb7ee6fc1c90f760fb27b4d5daf773973b0ce authored over 2 years ago
feat(fig): escape all strings

fedda32167cdea3af190ef8faa87d0818d5a2d6b authored over 2 years ago
Merge pull request #4099 from epage/sym

fix: Ensure partial eq is symetric

c023db3a98d1de3ca7067f92f31ba8109d954b99 authored over 2 years ago
fix: Ensure partial eq is symetric

6de312f50aa9ad6dab7cbe41026f1c52b917e19c authored over 2 years ago
Merge pull request #4097 from epage/possible

fix!: Remove lifetime from PossibleValue

d04ecd41f3ca3bb63f234a183fecb36ff353d7fa authored over 2 years ago
fix!: Remove lifetime from PossibleValue

Another step towards #1041

This isn't the long term type for `PossibleValue::help`, I just want...

8cc164dafbf080532281cdeb2cdb79fde8caa216 authored over 2 years ago
Merge pull request #4096 from epage/raw

fix: Switch to owned OsStr type

99d3bb8f74137393dba3bcb5fbf687eb4aeeeab9 authored over 2 years ago
Merge pull request #4095 from epage/flag

feat(parser): Make customizeing flags easier

e81b1aace76d11e5a82d8f8af14a74061ca60223 authored over 2 years ago
feat(parser): Make customizeing flags easier

While `TypedValueParser` will generally make it easier to reuse value
parsers, this was particul...

9074b6019493e30d5409a4259da8a9d2a781f67d authored over 2 years ago
fix(parser): Move TypedValueParsers constraint earlier in process

19d436d330af6b8107c84a4e1769ee98c8c7423f authored over 2 years ago
Merge pull request #4092 from epage/flag

fix: Allow non-bool value_parsers for SetTrue

cf7d78692b6b88df98376d4438034192b0d45c75 authored over 2 years ago
fix: Allow non-bool value_parsers for SetTrue

Not sure if we could have originally made this work but it definitely
does now that we use `defa...

09354dec219e98ed715e1de34c468969366c4ad7 authored over 2 years ago
fix: Remove once_cell dependency from derive

With being able to accept owned types now, `clap_derive` no longer needs
`once_cell` to make dyn...

429143af4299327a816b9d50e13a4cfc3ba247a7 authored over 2 years ago
fix: Switch OsStr's in builder to owned/borrowed type

This is a part of #1041

Because `Option<Into<T>>` is ambiguous for `None`, we had to create
`Re...

91e55c6b9c7f6d36c359e2f7460e5be83c370694 authored over 2 years ago
Merge pull request #4085 from orhun/docs/fix_typo_in_changelog

Fix typo in CHANGELOG.md

554724f917b1d8daedc2ad79ff04a686ffd51531 authored over 2 years ago
docs: Fix typo in changelog

97b0feffed9f711cb063c47962e00c33b78da663 authored over 2 years ago
Merge pull request #4084 from epage/predicate

fix!: Require/default conditional APIs are more explicit

5950c4b95fcccfa0979148e3020121efc95637b6 authored over 2 years ago
fix!: Require/default conditional APIs are more explicit

This helps with
- API cleanup by not having ambigious `None`, see #950
- Removes ambiguity with ...

09288b4bb9010424d54c3de56934401453a98a71 authored over 2 years ago
refactor: Remove lifetime from ArgPredicate

17a07abd9fe723ba13fe5b668af3a314cd1f37dd authored over 2 years ago
fix: Allow OsStr for some required_if_eq calls

30d4ef4b09f14b4425dd09e333d333ca91321738 authored over 2 years ago
Merge pull request #4083 from LeSeulArtichaut/doc-typo

docs: fix typo in markdown formatting

a42480198bfc422312a8305800046d8a09e90bb9 authored over 2 years ago
docs: Fix typo in markdown formatting

ea55679de8bdc1e92d8ef6b19c283d0b93524303 authored over 2 years ago
refactor: Make ArgPredicate non-copyable

This is prep for holding an owned type

3c2635adb2fcd2434a8561cde84ac22c2cb619f4 authored over 2 years ago
Merge pull request #4081 from epage/into_iter

fix!: Prefer `IntoIterator` over `&[]`

472ede9f10e2d31ddee46af7ab5bc6c2a52f7d79 authored over 2 years ago
refactor: Pull out distinct String type

2061a96619585590cac3059312b9a49834c6c17b authored over 2 years ago
fix!: Prefer `IntoIterator` over `&[]`

The main breakinge change cases:
- `&[char]`: now requires removing `&`
- All other non-ID `&[_]...

2de59195aaed7193f6cb85e65dbc19ec827b568b authored over 2 years ago
Merge pull request #4080 from epage/iter

feat(parser): Report what arg ids are present

dcfbee978721fa7a0dc3bb1a6cdc46ed4969d156 authored over 2 years ago
docs(cookbook): Add position-sensitive example

9c9cc9fcff1ac8b233597eb1a7d1079d66530352 authored over 2 years ago
feat(parser): Report what arg ids are present

For now, we are focusing only on iterating over the argument ids and not
the values.

This provi...

7486a0b4b9fb131f19bb32fb3dddfb5708aa617d authored over 2 years ago
test(builder): Clear up test files names

c45bd6494184835ca79545e519721a0586eb6c01 authored over 2 years ago
Merge pull request #4075 from cnpryer/faq

Quality improvements to FAQ docs

495e49e1a70989f4c8904c355f90d6149f673ce2 authored over 2 years ago
Merge pull request #4076 from cnpryer/tutorial-builder

Fix enum example comment

fb9dca0a0ce28b6f8396d9ad008a24b1fc44fcb1 authored over 2 years ago
docs(tutorial): Fix enum example comment

8bf39d927538febda98bc53648a7dab876f075c8 authored over 2 years ago
docs: Quality improvements to FAQ docs

ec55eb6a20cef0633de7a7eebec4ce7167a77e0d authored over 2 years ago
fix: Publicly expose 'Values' iterator

69e1e431e9d5c13f6dde97799d25fbe1f3be7be8 authored over 2 years ago
Merge pull request #4072 from epage/group

fix(parser)!: Store args in a group, rather than values

3c82418c8cc7c03cc7b2aed0aa3f927d1bf336a3 authored over 2 years ago
fix(parser)!: Store args in a group, rather than values

Now that `Id` is public, we can have `ArgMatches` report them. If we
have to choose one behavio...

41be1bed0815d9940b3ac0f7e6f97bd46e2b3c43 authored over 2 years ago
feat: Publicly expose Id

004de00771c355f3f74688ab748d7025953c907a authored over 2 years ago
perf: Track static strs for Id

Unfortunately, this added another 6.6 KB

Compared to `HEAD~` on `06_rustup`:
- build: 7.41us ->...

43ca9a25475fafc7f0f9d9f586efef9f197107b3 authored over 2 years ago
fix!: Track original Ids, rather than a hash

This is a step towards #1041
- `ArgGroup` no longer takes a lifetime
- One less field type needs...

5b5f2c1f40212c76c7f796cfb26dbb3eb35f1119 authored over 2 years ago
fix!: Switch from `&[]` to `IntoIterator`

This is a part of #2870 and is prep for #1041

Oddly enough, this dropped the binary size by 200...

f84e38a4ded0a2c67755a93d78d8f8fa2a44994a authored over 2 years ago
refactor(assert): Make it easier to change id type

Compared to `master` on `06_rustup`:
- build: 5.74us -> 6.21us
- parse: 7.57us -> 7.55us
- parse...

96f91ca09281aa76a4d4796e082b32c0e158f968 authored over 2 years ago
fix(debug): Clean up debug message

426a7d20f3f1aff074052cc45c205d9e531cff14 authored over 2 years ago
refactor(parser): Don't hide allocation

f1b86a6ae44da306deb3fb153bdacf3fd31fd56a authored over 2 years ago
refactor(assert): Remove dead code

1849d566d2debbf2730c6d9aa4207da2058a3ade authored over 2 years ago
refactor: Abstract away name's access

This is prep for merging name/id

ca046aaa0111e44d4d5599770a6df18a460f2fd7 authored over 2 years ago
refactor: Move commands off of `Id`

This is prep for changing out the types

This dropped the size by 0.4 KB

d7735d5cf2f1646fe7c176caffb7a3cd3de12ff9 authored over 2 years ago
chore(ci): Lock docs to MSRV

This will help avoid issues with new warnings

a5494573af5aa217fb5af36a569bfa31f055eb9f authored over 2 years ago
Merge pull request #4067 from epage/clippy

style: Address clippy

14b70597c060c77b3d15beff53a93ab9c989ae62 authored over 2 years ago
style: Address clippy

43e961d24f7c6d1162d207a33fd498c930b9f5eb authored over 2 years ago
Merge pull request #4065 from epage/flat

refactor: Move off of HashMap/IndexMap to flat containers

084a6dffeb9c0132be68405bffd2d1647c8e683a authored over 2 years ago
docs: Fix for 1.63

e7ced880e22b6b8368e619a7ee6271773c9b938f authored over 2 years ago
refactor: Move off of IndexMap/HashMap

This dropped 17KB

Again, performance shouldn't be too bad as the total number of argument
id's ...

6e7fd6d4bce1d0460e8ad2df083090c5ed0f0157 authored over 2 years ago
refactor: Move off of IndexSet/HashSet

This dropped `.text` by 14KB

Anything in debug asserts or help/usage output doesn't matter for
...

d441ebbf627bbbe62a95d14111ab096bb064e3ab authored over 2 years ago
Merge pull request #4060 from epage/msrv

chore: Bump MSRV to 1.60.0

b344f1cf18fe919883dd848f293c0c7be8c975d2 authored over 2 years ago
chore: Update dependencies

1c06735390f2735910d31edb4cad1d4dab5cb2fb authored over 2 years ago
Merge pull request #4059 from epage/no-implicit

fix: No implicit version/help actions

6bc8dfd32b5e2d7e7ab8d939b960cc15ccd8d665 authored over 2 years ago
chore: Bump MSRV to 1.60.0

While at it, this cleans up all of the features. For some reason, I
couldn't do `dep:clap_deriv...

3390adf0d3ccc712e60efe1391340b9bd702bd24 authored over 2 years ago
fix: No implicit version/help actions

Documenting the existing behavior is challenging which suggests it can
cause user confusion. So...

07b6e66eb714f7f12759b9a4fd9bc8cf5efe0842 authored over 2 years ago
Merge pull request #4056 from epage/help

fix!: Require explicit help/version disabling

1a08b9184bb1c4639042ad99290c6026ec7542ee authored over 2 years ago
fix!: Require explicit help/version disabling

Before we introduced actions, it required specific setups to engage with
claps version and help ...

f70ebe89a7e9d372f135137ee65da8c4de7bac56 authored over 2 years ago
Merge pull request #4055 from epage/clippy

style: Make clippy happy

0129d99f4c4208e78a770657dc3d628a3bba8f19 authored over 2 years ago
style: Make clippy happy

64639aa81c5028de67dae9b4a49e466619fab768 authored over 2 years ago
Merge pull request #4054 from epage/help

fix(debug): Make it easier to address help issues

c7d9fec2f88d182d37646d99518c98b2dcedbda1 authored over 2 years ago
fix(debug): Make it easier to address help issues

Inspired by #4033

ac9f4727e014b89abe084799c9eb79ee9e8dd656 authored over 2 years ago
Merge pull request #4050 from epage/docs

docs: Clarify confusing API points

9006f9a716366f9732fc487bed12d1afd800839d authored over 2 years ago
docs(tutorial): Further expand on actions

22c82c74046a51372cbe3db1ccad9d3ce3f5e145 authored over 2 years ago
Merge pull request #4049 from danielparks/issue-3785-derive-id-attr

fix(derive): Add "id" attribute

a98bcb4d13f391852fc1b022167cabe6f873145a authored over 2 years ago
fix(derive): Add "id" attribute

Previously the Arg id was set with the "name" attribute. This allows use
of an "id" attribute to...

1a2ae767388a452d99173c4d3043eb2d0e8a5b41 authored over 2 years ago
Merge pull request #4045 from epage/enum

docs(tutorial): Switch to hand-implemented ValueEnum

6aa4f90609e59035fb72924678c1b6ffbc0c5abb authored over 2 years ago
docs(contrib): Say why we use feature flag

1c3159700d96c18814f8c41c005312462b6aa8ea authored over 2 years ago
docs: Clarify intention for new APIs

2d352cb16f2365ceaebd6e26ea8679b0b8920bc2 authored over 2 years ago
docs(tutorial): Switch to hand-implemented ValueEnum

36777e7b6ca0e8224e2f9a1c87d17ef8e9663d10 authored over 2 years ago
docs(tutorial): Focus on actions, not macros

78b2b44b950e2d4cec130c2f88b6d28b8201a5f5 authored over 2 years ago
Merge pull request #4044 from epage/v4

docs: v4-specific improvements

52f039e549999814740aaf7d98983ca29129b4e9 authored over 2 years ago
docs(tutorial): Use arg!s action selection

571e3a5e158fc788b75bcf7101ee0de04a604da8 authored over 2 years ago
docs(derive): Remove clap v3 caveats

f3d4c2c971d34c37c0ab4d7b6aebd5e0264a9f2c authored over 2 years ago
test(tutorial): Ensure we actually test code

Biggest problem identified is that we are incorrectly setting the help
usage in `04_04_custom`

e1aafce431969977ad136b610006dd415c753780 authored over 2 years ago
Merge pull request #4032 from epage/flag

fix!: Make ArgAction::Set the default

179faa6bb249c3b8b80d933241759a6180324cbb authored over 2 years ago
test(derive): Highlight current behavior for version/help

69ad5cfd847336f21fd21f8a4857b2aec1750a04 authored over 2 years ago
fix: Ensure `arg!` gets help/version correct

Because of our changes from v3, we can't rely on `_build` taking care of
this for us.

95207a1e6fc8646ca53c86a0d232ebbb726973e3 authored over 2 years ago
fix: Limit defaulting multiple values to Append

0105b65e4e41e78b271462f8368f8381785b3538 authored over 2 years ago
fix!: Make ArgAction::Set the default

This removes the need for `TakesValue` bookkeeping for when we knew we
took values but didn't kn...

c801e4e56e5363c20e80f41301831d56c9d70820 authored over 2 years ago
fix: Provide convenient access for common cases

8ed35b4d9f436611fed16db3927f2adadfefc4e5 authored over 2 years ago
refactor: Renamge ValuesRange to ValueRange

Naming is hard. I found I was writing new code without the `s` so that
suggests the name was wr...

c1468d78b16c378dbe74533078d1330bb464ac43 authored over 2 years ago
Merge pull request #4031 from epage/multiple

refactor: We don't need MultipleValues for bookkeeping afterall

58b0529d13c52882b0a9668db17aa92769e40896 authored over 2 years ago
refactor: We don't need MultipleValues for bookkeeping afterall

TakesValue helps because it provides a way for a lot of settings to say
a value is needed withou...

e3153e303940267b14f918482576e62ee6024e8c authored over 2 years ago
Merge pull request #4030 from epage/take

fix!: Remove bookkeeping getters from API

fcbcafcd749fca87ce5625cc16194dbb90f5c1aa authored over 2 years ago
fix!: Make is_multiple_values private

multiple_values is now just book keeping for the builder, instead people
should look to actions ...

32f308d4ef2f507c5fef584a6d765db62b8b60c9 authored over 2 years ago
fix!: Make is_takes_value_set private

At this point, it is an implementation detail to help with book keeping
within the builder.

6e1ca59ec10c2d337766ef663a55f3e040dfa226 authored over 2 years ago
fix: Clarify that `get_num_args` is safe to call

The only time it won't be initialized is before `_build`. This is possible because
of #4027

I ...

52ec1f92e9c2f37074123b13efd287d6eedfa9ea authored over 2 years ago
Merge pull request #4028 from epage/value

fix!: Replace takes_value with number_of_values

91b10554f419318599b53b1c9f18f14a93935ee7 authored over 2 years ago
fix!: Replace `takes_value` with `number_of_values`

c62d3f0cfd66206fd28b96b0b2f1a73b8272e7ae authored over 2 years ago
fix: Remove references to number_of_values

29753b67980665102fb7d453e50dd9f6a9098e9c authored over 2 years ago
Merge pull request #4027 from epage/name

fix: Always ensure `num_args` is initialized

14c8f333cd77ff57dad7709ca662ef5f4bd3be43 authored over 2 years ago
fix: Always ensure `num_args` is initialized

As we move people off takes_value/multiple_values, this will provide
something to check.

This w...

479ca76491a76b4c94041d30dacfe8d798e3ecc4 authored over 2 years ago