Cargo Features
[dependencies]
aalto = { version = "0.3.1", default-features = false, features = ["wasm", "serde_derive", "utils", "extractor"] }
- default = extractor, utils, wasm
-
These default features are set whenever
aalto
is added without
somewhere in the dependency tree.default-features = false - wasm default = serde_derive, wasm-bindgen
-
Affects
extractor::wasm
,utils::wasm
,aalto::wasm
… - serde_derive wasm = serde, serde_json
- utils default
-
Affects
features::utils
… - extractor default = base64, image
-
Affects
features::extractor
…
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
- serde serde_derive?
- serde_json serde_derive?
- image extractor
-
Enables image ^0.24.2
- base64 extractor
-
Enables base64 ^0.13.0