# 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 = "burn-ndarray" version = "0.15.0" authors = ["nathanielsimard "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Ndarray backend for the Burn framework" documentation = "https://docs.rs/burn-ndarray" readme = "README.md" keywords = [ "deep-learning", "machine-learning", "data", ] categories = [ "science", "no-std", "embedded", "wasm", ] license = "MIT OR Apache-2.0" repository = "https://github.com/tracel-ai/burn/tree/main/crates/burn-ndarray" [package.metadata.docs.rs] features = ["doc"] rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "burn_ndarray" path = "src/lib.rs" [dependencies.atomic_float] version = "1" [dependencies.blas-src] version = "0.10.0" optional = true default-features = false [dependencies.burn-autodiff] version = "0.15.0" optional = true [dependencies.burn-common] version = "0.15.0" default-features = false [dependencies.burn-tensor] version = "0.15.0" features = ["repr"] default-features = false [dependencies.derive-new] version = "0.6.0" default-features = false [dependencies.libm] version = "0.2.8" [dependencies.matrixmultiply] version = "0.3.9" default-features = false [dependencies.ndarray] version = "0.16.0" default-features = false [dependencies.num-traits] version = "0.2.19" features = ["libm"] default-features = false [dependencies.openblas-src] version = "0.10.9" optional = true [dependencies.rand] version = "0.8.5" features = ["std_rng"] default-features = false [dependencies.spin] version = "0.9.8" features = [ "mutex", "spin_mutex", "portable-atomic", ] [dev-dependencies.burn-autodiff] version = "0.15.0" features = ["export_tests"] default-features = false [dev-dependencies.burn-tensor] version = "0.15.0" features = ["export_tests"] default-features = false [features] blas-accelerate = [ "blas-src/accelerate", "ndarray/blas", ] blas-netlib = [ "blas-src/netlib", "ndarray/blas", ] blas-openblas = [ "blas-src/openblas", "ndarray/blas", "openblas-src", ] blas-openblas-system = [ "blas-src/openblas", "ndarray/blas", "openblas-src/system", ] default = ["std"] doc = ["default"] std = [ "burn-autodiff", "burn-common/std", "burn-common/rayon", "burn-tensor/std", "matrixmultiply/std", "matrixmultiply/threading", "ndarray/rayon", "ndarray/std", "rand/std", "num-traits/std", ] [target.'cfg(not(target_has_atomic = "ptr"))'.dependencies.portable-atomic-util] version = "0.2.2" features = ["alloc"]