Cargo Features
[dependencies]
twiggy-opt = { version = "0.7.0", default-features = false, features = ["cli", "wasm", "emit_json", "emit_text", "emit_csv"] }
- default = cli, emit_csv, emit_json, emit_text
-
These default features are set whenever
twiggy-opt
is added without
somewhere in the dependency tree.default-features = false - cli default = structopt
- wasm = wasm-bindgen
- emit_json default
-
Enables emit_json of twiggy-traits
- emit_text default
-
Enables emit_text of twiggy-traits
- emit_csv default
-
Enables emit_csv of twiggy-traits
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.