Cargo Features

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 default-features = false somewhere in the dependency tree.

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.

structopt cli
wasm-bindgen wasm?