# 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-tensor" version = "0.15.0" authors = ["nathanielsimard "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Tensor library with user-friendly APIs and automatic differentiation support" documentation = "https://docs.rs/burn-tensor" readme = "README.md" keywords = [ "deep-learning", "machine-learning", "tensor", "pytorch", "ndarray", ] categories = [ "science", "no-std", "embedded", "wasm", ] license = "MIT OR Apache-2.0" repository = "https://github.com/tracel-ai/burn/tree/main/crates/burn-tensor" [package.metadata.docs.rs] features = ["doc"] rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "burn_tensor" path = "src/lib.rs" [dependencies.burn-common] version = "0.15.0" default-features = false [dependencies.burn-tensor-testgen] version = "0.15.0" optional = true [dependencies.bytemuck] version = "1.19.0" [dependencies.colored] version = "2.1.0" optional = true [dependencies.cubecl] version = "0.3.0" optional = true default-features = false [dependencies.derive-new] version = "0.6.0" default-features = false [dependencies.half] version = "2.4.1" features = [ "alloc", "num-traits", "serde", "bytemuck", ] default-features = false [dependencies.hashbrown] version = "0.15.0" [dependencies.num-traits] version = "0.2.19" features = ["libm"] default-features = false [dependencies.rand] version = "0.8.5" features = ["std_rng"] default-features = false [dependencies.rand_distr] version = "0.4.3" default-features = false [dependencies.serde] version = "1.0.210" features = [ "derive", "alloc", ] default-features = false [dependencies.serde_bytes] version = "0.11.15" features = ["alloc"] default-features = false [dev-dependencies.rand] version = "0.8.5" features = [ "std_rng", "std", "std_rng", ] default-features = false [features] cubecl = ["dep:cubecl"] cubecl-cuda = [ "cubecl", "cubecl/cuda", ] cubecl-hip = [ "cubecl", "cubecl/hip", ] cubecl-wgpu = [ "cubecl", "cubecl/wgpu", ] default = [ "std", "repr", ] doc = ["default"] experimental-named-tensor = [] export_tests = ["burn-tensor-testgen"] repr = [] std = [ "rand/std", "half/std", "num-traits/std", "burn-common/std", "burn-common/rayon", "colored", ] [target.'cfg(not(target_has_atomic = "ptr"))'.dependencies.portable-atomic-util] version = "0.2.2" features = ["alloc"]