# 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 = "2018" name = "linfa" version = "0.7.0" authors = [ "Luca Palmieri ", "Lorenz Schmidt ", "Paul Körbitz ", "Yuhan Lin ", ] exclude = [".github/"] description = "A Machine Learning framework for Rust" readme = "README.md" keywords = [ "machine-learning", "linfa", "ai", "ml", ] categories = [ "algorithms", "mathematics", "science", ] license = "MIT OR Apache-2.0" repository = "https://github.com/rust-ml/linfa" [profile.release] opt-level = 3 [dependencies.approx] version = "0.4" [dependencies.criterion] version = "0.4.0" optional = true [dependencies.ndarray] version = "0.15" features = ["approx"] [dependencies.ndarray-linalg] version = "0.15" optional = true [dependencies.num-traits] version = "0.2" [dependencies.rand] version = "0.8" features = ["small_rng"] [dependencies.serde_crate] version = "1.0" features = [ "std", "derive", ] optional = true default-features = false package = "serde" [dependencies.sprs] version = "0.11" default-features = false [dependencies.thiserror] version = "1.0" [dev-dependencies.ndarray-rand] version = "0.14" [dev-dependencies.statrs] version = "0.16.0" [features] benchmarks = [ "criterion", "pprof", ] blas = ["ndarray/blas"] default = [] intel-mkl-static = [ "blas", "ndarray-linalg/intel-mkl-static", ] intel-mkl-system = [ "blas", "ndarray-linalg/intel-mkl-system", ] netlib-static = [ "blas", "ndarray-linalg/netlib-static", ] netlib-system = [ "blas", "ndarray-linalg/netlib-system", ] openblas-static = [ "blas", "ndarray-linalg/openblas-static", ] openblas-system = [ "blas", "ndarray-linalg/openblas-system", ] serde = [ "serde_crate", "ndarray/serde", ] [target."cfg(not(windows))".dependencies.pprof] version = "0.11.0" features = [ "flamegraph", "criterion", ] optional = true