Cargo Features

[dependencies]
dotlr = { version = "0.3.0", default-features = false, features = ["repl", "serde", "wasm"] }
default = repl

The repl feature is set by default whenever dotlr is added without default-features = false somewhere in the dependency tree.

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.

clap repl
console_error_panic_hook wasm?
dirs repl
rustyline repl
serde_renamed serde?

Enables serde

serde-wasm-bindgen wasm?
wasm-bindgen wasm?