Cargo Features
[dependencies]
minsc = { version = "0.2.0", default-features = false, features = ["wasm", "playground", "wee_alloc"] }
- default = playground, wasm
-
These default features are set whenever
minsc
is added without
somewhere in the dependency tree.default-features = false - wasm default playground = lazy_static, wasm-bindgen
-
Affects
minsc::wasm
… - playground default = serde, wasm
-
Enables serde-serialize of wasm-bindgen
Affects
minsc::playground
…
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.
- serde playground
- wasm-bindgen playground wasm
- wee_alloc implicit feature
-
Enables wee_alloc
wee_alloc:
wee_alloc: The Wasm-Enabled, Elfin Allocator
- lazy_static wasm