Updates the requirements on [ndarray](https://github.com/rust-ndarray/ndarray) to permit the latest version. - [Release notes](https://github.com/rust-ndarray/ndarray/releases) - [Changelog](https://github.com/rust-ndarray/ndarray/blob/master/RELEASES.md) - [Commits](https://github.com/rust-ndarray/ndarray/compare/ndarray-rand-0.15.0...0.17.2) --- updated-dependencies: - dependency-name: ndarray dependency-version: 0.17.2 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
67 lines
1.7 KiB
TOML
67 lines
1.7 KiB
TOML
[package]
|
|
name = "smartcore"
|
|
description = "Machine Learning in Rust."
|
|
homepage = "https://smartcorelib.org"
|
|
version = "0.4.9"
|
|
authors = ["smartcore Developers"]
|
|
edition = "2021"
|
|
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"]
|
|
exclude = [
|
|
".github",
|
|
".gitignore",
|
|
"smartcore.iml",
|
|
"smartcore.svg",
|
|
"tests/"
|
|
]
|
|
|
|
[dependencies]
|
|
approx = "0.5.1"
|
|
cfg-if = "1.0.0"
|
|
ndarray = { version = "0.17", optional = true }
|
|
num-traits = "0.2.12"
|
|
num = "0.4"
|
|
rand = { version = "0.8.5", default-features = false, features = ["small_rng"] }
|
|
rand_distr = { version = "0.4", optional = true }
|
|
serde = { version = "1", features = ["derive"], optional = true }
|
|
ordered-float = "5.1.0"
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
typetag = { version = "0.2", optional = true }
|
|
|
|
[features]
|
|
default = []
|
|
serde = ["dep:serde", "dep:typetag"]
|
|
ndarray-bindings = ["dep:ndarray"]
|
|
datasets = ["dep:rand_distr", "std_rand", "serde"]
|
|
std_rand = ["rand/std_rng", "rand/std"]
|
|
# used by wasm32-unknown-unknown for in-browser usage
|
|
js = ["getrandom/js"]
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
getrandom = { version = "0.2.8", optional = true }
|
|
|
|
[target.'cfg(all(target_arch = "wasm32", not(target_os = "wasi")))'.dev-dependencies]
|
|
wasm-bindgen-test = "0.3"
|
|
|
|
[dev-dependencies]
|
|
itertools = "0.13.0"
|
|
serde_json = "1.0"
|
|
bincode = "1.3.1"
|
|
|
|
[workspace]
|
|
|
|
[profile.test]
|
|
debug = 1
|
|
opt-level = 3
|
|
|
|
[profile.release]
|
|
strip = true
|
|
lto = true
|
|
codegen-units = 1
|
|
overflow-checks = true
|