gumdrop review
A focused, free Rust derive-macro parser for typed options and subcommands.
Reviewed by iTechGuides Editors · Editorial team · Updated Nov 2026
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.
gumdrop pros and cons
- 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
gumdrop fact sheet, pricing and score →
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