Cargo Features
[dependencies]
bbs = { version = "0.4.1", default-features = false, features = ["wasm", "rayon"] }
- default = rayon
-
The
rayon
feature is set by default wheneverbbs
is added without
somewhere in the dependency tree.default-features = false - wasm = 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.
- rayon default
- serde-wasm-bindgen wasm?
-
Enables serde-wasm-bindgen ^0.1
- wasm-bindgen wasm?