Replies: 3 comments 3 replies
-
I was giving this some thought in terms of the impedance mismatches between clap and clap_derive. For example in #1104, features to help the builder API would do nothing for the derive or #2255 where the surface area of clap is so large, it makes it hard not to panic in some case in the derive. In general, having several ways of generating an This also leads to performance loss. clap_derive can't take advantage of everything being a What if we had
For crates that wanted to support either Transition plan:
|
Beta Was this translation helpful? Give feedback.
-
Definitely something that we want to tackle after 3.0. There are a few discussions around this in other issues IIRC. |
Beta Was this translation helpful? Give feedback.
-
It might be good to involve the author of |
Beta Was this translation helpful? Give feedback.
-
https://www.reddit.com/r/rust/comments/oley2c/lexopt_a_minimalist_pedantic_argument_parser/h5evqhk/
What would this look like for clap?
Beta Was this translation helpful? Give feedback.
All reactions