Crate features / structopt
Feature flags · structopt 0.3.26 · from crates.io 2026-10-24
structopt features: what each one does, and the line to copy
Short answerstructopt 0.3.26 has 9 features. By default it turns on clap/default; add default-features = false to start from nothing.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
color | clap/color | |
debug | clap/debug | |
doc | clap/doc | |
lints | clap/lints | |
no_cargo | clap/no_cargo | |
paw | structopt-derive/paw, paw_dep | |
suggestions | clap/suggestions | |
wrap_help | clap/wrap_help | |
yaml | clap/yaml |
dep:x turns on the optional dependency x; x/y turns on feature y of dependency x (with ?, only if x is already on).
More on structopt
Real downloads, dependents and alternatives: structopt crate data (72.9K real downloads a day, 2,931 dependents).
Security record: structopt advisories.
docs.rs feature list · crates.io · license Apache-2.0 OR MIT · edition 2018
Up next
Before you depend on itstructopt crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?