Cargo Features

[dependencies]
bbs = { version = "0.4.1", default-features = false, features = ["wasm", "rayon"] }
default = rayon

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

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?