Cargo Features
StructOpt has no features set by default.
[dependencies]
structopt = { version = "0.3.26", features = ["suggestions", "color", "wrap_help", "yaml", "lints", "debug", "no_cargo", "paw", "doc"] }
- default
-
These default features are set whenever
structopt
is added without
somewhere in the dependency tree.default-features = false Enables clap ^2.33
- suggestions
-
Enables suggestions of clap ^2.33
- color
-
Enables color of clap ^2.33
- wrap_help
-
Enables wrap_help of clap ^2.33
- yaml
-
Enables yaml of clap ^2.33
- lints
-
Enables lints of clap ^2.33
- debug
-
Enables debug of clap ^2.33
clap:
Enables debug messages
- no_cargo
-
Enables no_cargo of clap ^2.33
- paw = paw_dep
-
Enables paw of structopt-derive
- doc
-
Enables doc of clap ^2.33
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.