[package] name = "smartcore" description = "The most advanced machine learning library in rust." homepage = "https://smartcorelib.org" version = "0.2.0" authors = ["SmartCore Developers"] edition = "2018" license = "Apache-2.0" documentation = "https://docs.rs/smartcore" repository = "https://github.com/smartcorelib/smartcore" readme = "README.md" keywords = ["machine-learning", "statistical", "ai", "optimization", "linear-algebra"] categories = ["science"] [features] default = ["datasets"] ndarray-bindings = ["ndarray"] nalgebra-bindings = ["nalgebra"] datasets = [] [dependencies] ndarray = { version = "0.15", optional = true } nalgebra = { version = "0.23.0", optional = true } num-traits = "0.2.12" num = "0.3.0" rand = "0.8.3" rand_distr = "0.4.0" serde = { version = "1.0.115", features = ["derive"], optional = true } [target.'cfg(target_arch = "wasm32")'.dependencies] getrandom = { version = "0.2", features = ["js"] } [dev-dependencies] criterion = "0.3" serde_json = "1.0" bincode = "1.3.1" [target.'cfg(target_arch = "wasm32")'.dev-dependencies] wasm-bindgen-test = "0.3" [[bench]] name = "distance" harness = false [[bench]] name = "naive_bayes" harness = false required-features = ["ndarray-bindings", "nalgebra-bindings"]