# 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 = "zyx" version = "0.14.0" authors = ["zk4x"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Zyx machine learning library" homepage = "https://github.com/zk4x/zyx" documentation = "https://docs.rs/zyx" readme = "README.md" keywords = [ "tensor", "deep-learning", "neural-network", "autodiff", ] categories = [ "computer-vision", "science", ] license = "MIT OR Apache-2.0" repository = "https://github.com/zk4x/zyx" [profile.dev] opt-level = 0 lto = false codegen-units = 16 debug = 0 debug-assertions = true panic = "unwind" overflow-checks = true incremental = true strip = false [profile.release] opt-level = "z" lto = true codegen-units = 1 debug = 0 debug-assertions = false panic = "abort" overflow-checks = true incremental = false strip = true [lib] name = "zyx" crate-type = [ "lib", "cdylib", ] path = "src/lib.rs" [[test]] name = "binary" path = "tests/binary.rs" [[test]] name = "fuzzy" path = "tests/fuzzy.rs" [[test]] name = "misc" path = "tests/misc.rs" [[test]] name = "movement" path = "tests/movement.rs" [[test]] name = "reduce" path = "tests/reduce.rs" [[test]] name = "unary" path = "tests/unary.rs" [dependencies.bitcode] version = "0.6.3" features = [ "std", "derive", ] default-features = false [dependencies.futures] version = "0.3" features = ["executor"] optional = true default-features = false [dependencies.half] version = "2.4.1" optional = true default-features = false [dependencies.inline_colorization] version = "0.1.6" default-features = false [dependencies.libloading] version = "0.8.5" default-features = false [dependencies.num-complex] version = "0.4.6" optional = true default-features = false [dependencies.pyo3] version = "0.22.2" optional = true [dependencies.rand] version = "0.8.5" features = ["small_rng"] optional = true default-features = false [dependencies.serde] version = "1.0.209" features = [ "std", "derive", ] default-features = false [dependencies.serde_json] version = "1.0.128" features = ["std"] default-features = false [dependencies.wgpu] version = "22.1.0" features = ["wgsl"] optional = true default-features = false [dependencies.xdg] version = "2.5.2" default-features = false [features] complex = ["dep:num-complex"] default = ["rand"] half = ["dep:half"] py = [ "dep:pyo3", "rand", "half", "complex", ] rand = ["dep:rand"] wgsl = [ "dep:wgpu", "dep:futures", ] [badges.maintenance] status = "experimental"