# 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 = "2024"
name = "tract-linalg"
version = "0.23.1"
authors = ["Mathieu Poumeyrol <kali@zoy.org>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Tiny, no-nonsense, self contained, TensorFlow and ONNX inference"
readme = "README.md"
keywords = [
    "TensorFlow",
    "NeuralNetworks",
]
categories = ["science"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/snipsco/tract"
resolver = "2"

[badges.maintenance]
status = "actively-developed"

[features]
apple-amx-ios = []
complex = ["tract-data/complex"]
default = []
hwbench = ["rayon"]
multithread-mm = ["rayon"]
no_fp16 = []

[lib]
name = "tract_linalg"
path = "src/lib.rs"

[[test]]
name = "virtual_im2col"
path = "tests/virtual_im2col.rs"

[[bench]]
name = "activations_avx512"
path = "benches/activations_avx512.rs"
harness = false

[[bench]]
name = "activations_avx512_f16"
path = "benches/activations_avx512_f16.rs"
harness = false

[[bench]]
name = "activations_avx512_fp16"
path = "benches/activations_avx512_fp16.rs"
harness = false

[[bench]]
name = "arm32neon"
path = "benches/arm32neon.rs"
bench = false
harness = false

[[bench]]
name = "arm64"
path = "benches/arm64.rs"
bench = false
harness = false

[[bench]]
name = "arm64simd"
path = "benches/arm64simd.rs"
bench = false
harness = false

[[bench]]
name = "avx512_zombies"
path = "benches/avx512_zombies.rs"
harness = false

[[bench]]
name = "erf"
path = "benches/erf.rs"
harness = false

[[bench]]
name = "gelu"
path = "benches/gelu.rs"
harness = false

[[bench]]
name = "hardswish"
path = "benches/hardswish.rs"
harness = false

[[bench]]
name = "intel"
path = "benches/intel.rs"
bench = false
harness = false

[[bench]]
name = "leaky_relu"
path = "benches/leaky_relu.rs"
bench = false
harness = false

[[bench]]
name = "mat_vec"
path = "benches/mat_vec.rs"
harness = false

[[bench]]
name = "mm_for_asr_am"
path = "benches/mm_for_asr_am.rs"
harness = false

[[bench]]
name = "mm_for_inception"
path = "benches/mm_for_inception.rs"
harness = false

[[bench]]
name = "mm_for_wavenet_hw"
path = "benches/mm_for_wavenet_hw.rs"
harness = false

[[bench]]
name = "qmmm_i8"
path = "benches/qmmm_i8.rs"
harness = false

[[bench]]
name = "rms_norm"
path = "benches/rms_norm.rs"
harness = false

[[bench]]
name = "sigmoid"
path = "benches/sigmoid.rs"
harness = false

[[bench]]
name = "silu"
path = "benches/silu.rs"
harness = false

[[bench]]
name = "softmax"
path = "benches/softmax.rs"
harness = false

[[bench]]
name = "virtual_im2col"
path = "benches/virtual_im2col.rs"
harness = false

[[bench]]
name = "vnni_i32"
path = "benches/vnni_i32.rs"
harness = false

[[bench]]
name = "wasm"
path = "benches/wasm.rs"
harness = false

[[bench]]
name = "x86_64"
path = "benches/x86_64.rs"
bench = false
harness = false

[dependencies.byteorder]
version = "1.4.3"

[dependencies.derive-new]
version = "0.7"

[dependencies.downcast-rs]
version = "2.0"

[dependencies.dyn-clone]
version = "1.0.4"

[dependencies.dyn-eq]
version = "0.1"

[dependencies.dyn-hash]
version = "1.0"

[dependencies.lazy_static]
version = "1.5.0"

[dependencies.log]
version = "0.4.14"

[dependencies.num-traits]
version = "0.2.14"

[dependencies.pastey]
version = "0.2"

[dependencies.rayon]
version = "1.10"
optional = true

[dependencies.scan_fmt]
version = "0.2.6"

[dependencies.tract-data]
version = "=0.23.1"

[dev-dependencies.core_affinity]
version = "0.8.0"

[dev-dependencies.env_logger]
version = "0.11"

[dev-dependencies.libc]
version = "0.2.164"

[dev-dependencies.nu-ansi-term]
version = "0.50"

[build-dependencies.cc]
version = "1.0.69"

[build-dependencies.half]
version = ">=2.4,<3.0"
features = [
    "std",
    "num-traits",
]

[build-dependencies.minijinja]
version = "2.19.0"

[build-dependencies.walkdir]
version = "2.3.2"

[target.'cfg(not(target_family = "wasm"))'.dev-dependencies.criterion]
version = "0.8"

[target.'cfg(not(target_family = "wasm"))'.dev-dependencies.proptest]
version = "1.0.0"

[target.'cfg(target_family = "wasm")'.dev-dependencies.criterion]
version = "0.8"
features = [
    "plotters",
    "cargo_bench_support",
]
default-features = false

[target.'cfg(target_family = "wasm")'.dev-dependencies.proptest]
version = "1.0.0"
features = [
    "std",
    "bit-set",
]
default-features = false
