gumdrop
gumdrop: A focused, free Rust derive-macro parser for typed options and subcommands. Ranked #11 of 60 in Command-Line Interface Frameworks by our editors (8.2/10); pricing: Free plan; best for rust users wanting a minimal derive CLI.
At a glance
- Editor score8.2 / 10
- PricingFree plan
- Best forRust users wanting a minimal derive CLI
- Free planYes
- Paid fromFree
- Facts checked17 Nov 2026
Where it wins
- Derive macro defines typed options directly on structs and enums
- Supports enum subcommands, flags, counters, and repeated values
- Custom value parsers plus automatic help and usage handling
Where it doesn't
- Focused on parsing and help rather than a broad CLI toolkit
- Shell completion generation is outside its stated feature set
- Configuration-file handling is outside its stated feature set
Our verdict on gumdrop
gumdrop is an open-source Rust command-line option parsing library for developers building command-line applications or libraries. Its Options trait and derive macro let Rust structs describe options while enums represent subcommands. The API covers boolean flags, counters, free arguments, repeated vector values, string and numeric values, and custom parsing functions, with attributes for short and long option names.
The published package is crate version 0.8.1 and uses an open-source model with a free plan rather than hosted tiers. Its central workflow is code generation through the derive macro: define option-bearing structs or subcommand enums, add the relevant attributes, and rely on generated parsing and help behavior. This typed approach fits Rust projects that want option definitions close to their data types, while automatic usage text provides a built-in command-line guide. Support is centered on documentation, so teams should expect a documentation-led adoption path.
gumdrop keeps a narrow focus on command-line parsing. Its stated capabilities include option values, flags, repeated inputs, custom parsers, subcommands, and generated help, but shell completion generation and configuration-file handling sit outside that scope. That makes it a practical fit for solo developers through enterprise teams that need a small Rust dependency for conventional argument parsing and prefer derive-based declarations. Choose an alternative when a project requires a wider command-line platform with completion workflows, configuration management, or broader ecosystem services beyond parsing and usage output.
Your product? Our editors can test gumdrop in depth and publish a review, labelled as paid · from $149/mo →
gumdrop pricing
gumdrop fact sheet
| Free plan | Yes |
|---|---|
| Paid from | Free |
| Shell completion | Not verified |
| Nested subcommands | Not verified |
| Code generation | Yes |
| Config file support | Not verified |
| Environment variables | Not verified |
| Typed API | Yes |
| Support | Docs |
| Built for | Solo, Small business, Mid-market, Enterprise (editorial estimate) |
| Pricing | Free plan |
| Website | docs.rs |
| Facts checked | 17 Nov 2026 |
Alternatives to gumdrop
- ClapA free Rust crate with typed parsing, nested commands, validation, and completions.9.4
- ClickA free, open-source toolkit for typed, nested Python command-line applications.9.3
- TyperFree, open-source typed CLI framework with nesting, completions, and configuration support.9.2
See all gumdrop alternatives →
Used gumdrop? Be the first to review it
The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used gumdrop for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.
Write a reviewTwo minutes · verified accounts only · read by an editor before it appears
Featured on iTechGuides
gumdrop is listed in our Command-Line Interface Frameworks directory. Add the badge to your site — it links back to this page.
<a href="https://www.itechguides.com/products/gumdrop/"><img src="https://www.itechguides.com/best/badge/gumdrop.svg" alt="Featured on iTechGuides" width="230" height="46"></a>
Reviewed by iTechGuides Editors · Editorial team · Updated Nov 2026
Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.
Last updated · How we research and update