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?

Enables serde and typetag

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?

Enables std and std_rng of rand

js

used by wasm32-unknown-unknown for in-browser usage

Enables js of getrandom

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.

getrandom wasm32 js?