You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Among those, pico-args seems to be the 2nd most popular choice and it's 30x smaller and 10x faster to compile. argh was authored by Google and may receive continued support as well. This clap issue seems relevant: clap-rs/clap#1365
Since other, smaller parsers often don't support builtin formatting for --help we'd probably have to write that ourselves, however for sudo I suspect a simple, static string is sufficient.
The text was updated successfully, but these errors were encountered:
clap
constitutes roughly 80% of sudo's binary size. According to this we have various choices that are significantly smaller:https://github.com/rosetta-rs/argparse-rosetta-rs#results
Among those,
pico-args
seems to be the 2nd most popular choice and it's 30x smaller and 10x faster to compile.argh
was authored by Google and may receive continued support as well. This clap issue seems relevant: clap-rs/clap#1365Since other, smaller parsers often don't support builtin formatting for
--help
we'd probably have to write that ourselves, however forsudo
I suspect a simple, static string is sufficient.The text was updated successfully, but these errors were encountered: