edgefirst-tensor 0.5.0

Zero-copy tensor memory management with DMA, shared memory, and heap backends
Documentation
[package]
name = "edgefirst-tensor"
version.workspace = true
edition.workspace = true
authors.workspace = true
description = "Zero-copy tensor memory management with DMA, shared memory, and heap backends"
homepage.workspace = true
repository.workspace = true
readme = "README.md"
license.workspace = true
keywords = ["tensor", "dma", "shared-memory", "zero-copy", "edge-ai"]
categories = ["data-structures", "memory-management", "embedded", "science"]
documentation = "https://docs.rs/edgefirst-tensor"

[features]
default = ["ndarray"]
ndarray = ["dep:ndarray"]

[dependencies]
ctor = { workspace = true }
env_logger = { workspace = true }
log = { workspace = true }
ndarray = { workspace = true, optional = true }
num-traits = { workspace = true }
uuid = { workspace = true }

[target.'cfg(target_os = "linux")'.dependencies]
dma-heap = { workspace = true }

[target.'cfg(unix)'.dependencies]
nix = { workspace = true }

[dev-dependencies]
divan = { workspace = true }
rand = { workspace = true }

[target.'cfg(target_os = "linux")'.dev-dependencies]
procfs = { workspace = true }

[[bench]]
name = "tensor_benchmark"
harness = false