# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "smartcore" version = "0.3.2" authors = ["smartcore Developers"] exclude = [ ".github", ".gitignore", "smartcore.iml", "smartcore.svg", "tests/", ] description = "Machine Learning in Rust." homepage = "https://smartcorelib.org" documentation = "https://docs.rs/smartcore" readme = "README.md" keywords = [ "machine-learning", "statistical", "ai", "optimization", "linear-algebra", ] categories = ["science"] license = "Apache-2.0" repository = "https://github.com/smartcorelib/smartcore" [profile.release] lto = true codegen-units = 1 overflow-checks = true strip = true [profile.test] opt-level = 3 debug = 1 [dependencies.approx] version = "0.5.1" [dependencies.cfg-if] version = "1.0.0" [dependencies.ndarray] version = "0.15" optional = true [dependencies.num] version = "0.4" [dependencies.num-traits] version = "0.2.12" [dependencies.rand] version = "0.8.5" features = ["small_rng"] default-features = false [dependencies.rand_distr] version = "0.4" optional = true [dependencies.serde] version = "1" features = ["derive"] optional = true [dev-dependencies.bincode] version = "1.3.1" [dev-dependencies.itertools] version = "0.10.5" [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", ] [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] version = "0.2" optional = true [target."cfg(target_arch = \"wasm32\")".dependencies.getrandom] version = "0.2.8" optional = true