Cargo Features
[dependencies]
dotlr = { version = "0.3.0", default-features = false, features = ["repl", "serde", "wasm"] }
- default = repl
-
The
repl
feature is set by default wheneverdotlr
is added without
somewhere in the dependency tree.default-features = false - repl default = clap, dirs, rustyline
- serde wasm? = serde_renamed
-
Enables serde of indexmap, smallvec, and smol_str
Affects
utils::serialize_regex_map
… - wasm = console_error_panic_hook, serde, serde-wasm-bindgen, wasm-bindgen
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.