[package]
edition = "2021"
name = "edgefirst-tensor"
version = "0.5.0"
authors = ["Au-Zone Technologies <support@au-zone.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Zero-copy tensor memory management with DMA, shared memory, and heap backends"
homepage = "https://edgefirst.ai"
documentation = "https://docs.rs/edgefirst-tensor"
readme = "README.md"
keywords = [
"tensor",
"dma",
"shared-memory",
"zero-copy",
"edge-ai",
]
categories = [
"data-structures",
"memory-management",
"embedded",
"science",
]
license = "Apache-2.0"
repository = "https://github.com/EdgeFirstAI/hal"
resolver = "3"
[features]
default = ["ndarray"]
ndarray = ["dep:ndarray"]
[lib]
name = "edgefirst_tensor"
path = "src/lib.rs"
[[bench]]
name = "tensor_benchmark"
path = "benches/tensor_benchmark.rs"
harness = false
[dependencies.ctor]
version = "0.4.2"
[dependencies.env_logger]
version = "0.11.8"
[dependencies.log]
version = "0.4.27"
[dependencies.ndarray]
version = "0.16.1"
features = ["rayon"]
optional = true
[dependencies.num-traits]
version = "0.2.19"
[dependencies.uuid]
version = "1.11.0"
features = ["v4"]
[dev-dependencies.divan]
version = "0.1.21"
[dev-dependencies.rand]
version = "0.9.2"
[target.'cfg(target_os = "linux")'.dependencies.dma-heap]
version = "0.4.1"
[target.'cfg(target_os = "linux")'.dev-dependencies.procfs]
version = "0.18.0"
[target."cfg(unix)".dependencies.nix]
version = "0.30.1"
features = [
"fs",
"ioctl",
"mman",
]