57 lines
1.5 KiB
TOML
57 lines
1.5 KiB
TOML
[package]
|
|
name = "smartcore"
|
|
description = "The most advanced machine learning library in rust."
|
|
homepage = "https://smartcorelib.org"
|
|
version = "0.2.1"
|
|
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 = ["rand_distr"]
|
|
fp_bench = ["itertools"]
|
|
|
|
[dependencies]
|
|
ndarray = { version = "0.15", optional = true }
|
|
nalgebra = { version = "0.31", optional = true }
|
|
num-traits = "0.2"
|
|
num = "0.4"
|
|
rand = "0.8"
|
|
rand_distr = { version = "0.4", optional = true }
|
|
serde = { version = "1", features = ["derive"], optional = true }
|
|
itertools = { version = "0.10.3", optional = true }
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
getrandom = { version = "0.2", features = ["js"] }
|
|
|
|
[dev-dependencies]
|
|
smartcore = { path = ".", features = ["fp_bench"] }
|
|
criterion = { version = "0.4", default-features = false }
|
|
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"]
|
|
|
|
[[bench]]
|
|
name = "fastpair"
|
|
harness = false
|
|
required-features = ["fp_bench"]
|