Cargo Features
smartcore has no features set by default.
[dependencies]
smartcore = { version = "0.4.0", features = ["serde", "ndarray-bindings", "datasets", "std_rand", "js"] }
- serde datasets?
-
Affects
smartcore::readers
… - ndarray-bindings
-
Enables ndarray ^0.15
Affects
linalg::ndarray
… - datasets = serde, std_rand
-
Enables rand_distr
Affects
smartcore::dataset
… - std_rand datasets?
- js
-
used by wasm32-unknown-unknown for in-browser usage
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.