Cargo Features

[dependencies]
metacomplete = { version = "2.0.0", default-features = false, features = ["fst", "serde", "wasm", "test"] }
default = test

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

fst test

Enables fst

Affects prefix::fst

serde

Enables serde

wasm = js-sys, wasm-bindgen

Affects metacomplete::wasm

test default = fst

Enables rand ^0.8

Affects levenshtein::sample_edited_string

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.

wasm-bindgen wasm?
js-sys wasm?