# 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 = "ndtensor" version = "0.1.0" authors = ["FL03 (https://github.com/FL03)"] description = "ndtensor is an n-dimensional tensor library for Rust." homepage = "https://github.com/FL03/ndtensor/wiki" readme = "README.md" keywords = ["tensor"] categories = [ "data-structures", "math", "science", ] license = "Apache-2.0" repository = "https://github.com/FL03/ndtensor" [package.metadata.docs.rs] all-features = true rustc-args = [ "--cfg", "docsrs", ] [lib] crate-type = [ "cdylib", "rlib", ] test = true doctest = true bench = true [[test]] name = "approx" required-features = ["approx"] [[test]] name = "backward" required-features = ["approx"] [[test]] name = "tensor" required-features = [ "approx", "std", ] [dependencies.acme] version = "0.3.1" [dependencies.approx] version = "0.5" optional = true [dependencies.itertools] version = "0.12" [dependencies.ndarray] version = "0.15" [dependencies.num] version = "0.4" [dependencies.paste] version = "1" [dependencies.serde] version = "1" features = ["derive"] optional = true [dependencies.serde_json] version = "1" optional = true [dependencies.smart-default] version = "0.7" [dependencies.strum] version = "0.26" features = ["derive"] [dev-dependencies.lazy_static] version = "1" [build-dependencies] [features] approx = [ "dep:approx", "ndarray/approx-0_5", ] default = [ "approx", "std", ] serde = [ "dep:serde", "serde-ext", ] serde-ext = [ "dep:serde_json", "ndarray/serde-1", "acme/serde", ] std = [ "acme/std", "ndarray/std", ] [target.wasm32-unknown-unknown] [target.wasm32-wasi]