[dependencies.approx]
version = "0.5.1"
[dependencies.cfg-if]
version = "1.0.0"
[dependencies.ndarray]
optional = true
version = "0.15"
[dependencies.num]
version = "0.4"
[dependencies.num-traits]
version = "0.2.12"
[dependencies.rand]
default-features = false
features = ["small_rng"]
version = "0.8.5"
[dependencies.rand_distr]
optional = true
version = "0.4"
[dependencies.serde]
features = ["derive"]
optional = true
version = "1"
[dev-dependencies.bincode]
version = "1.3.1"
[dev-dependencies.itertools]
version = "0.13.0"
[dev-dependencies.serde_json]
version = "1.0"
[features]
datasets = ["dep:rand_distr", "std_rand", "serde"]
default = []
js = ["getrandom/js"]
ndarray-bindings = ["dep:ndarray"]
serde = ["dep:serde", "dep:typetag"]
std_rand = ["rand/std_rng", "rand/std"]
[lib]
name = "smartcore"
path = "src/lib.rs"
[package]
authors = ["smartcore Developers"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["science"]
description = "Machine Learning in Rust."
documentation = "https://docs.rs/smartcore"
edition = "2021"
exclude = [".github", ".gitignore", "smartcore.iml", "smartcore.svg", "tests/"]
homepage = "https://smartcorelib.org"
keywords = ["machine-learning", "statistical", "ai", "optimization", "linear-algebra"]
license = "Apache-2.0"
name = "smartcore"
readme = "README.md"
repository = "https://github.com/smartcorelib/smartcore"
version = "0.4.1"
[profile.release]
codegen-units = 1
lto = true
overflow-checks = true
strip = true
[profile.test]
debug = 1
opt-level = 3
[target.'cfg(all(target_arch = "wasm32", not(target_os = "wasi")))'.dev-dependencies.wasm-bindgen-test]
version = "0.3"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.typetag]
optional = true
version = "0.2"
[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
optional = true
version = "0.2.8"