# 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 = "ara2"
version = "0.13.1"
authors = ["Au-Zone Technologies <support@au-zone.com>"]
build = false
exclude = [
    "target/",
    "*.dvm",
    "*.onnx",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust client library for the Kinara ARA-2 neural network accelerator on NXP i.MX platforms"
homepage = "https://edgefirst.ai"
readme = "README.md"
keywords = [
    "neural-network",
    "inference",
    "accelerator",
    "ara2",
    "edgefirst",
]
categories = [
    "hardware-support",
    "science",
    "embedded",
]
license = "Apache-2.0"
repository = "https://github.com/EdgeFirstAI/ara2-rs"

[features]
camera = [
    "dep:libcamera",
    "dep:wayland-client",
    "dep:wayland-protocols",
]

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

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

[dependencies.ara2-sys]
version = "0.13.1"

[dependencies.edgefirst-hal]
version = "0.25"

[dependencies.libcamera]
version = "0.7"
optional = true

[dependencies.libloading]
version = "0.9"

[dependencies.log]
version = "0.4"
features = ["release_max_level_debug"]

[dependencies.ndarray]
version = "0.17"
features = ["rayon"]

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.wayland-client]
version = "0.31"
optional = true
default-features = false

[dependencies.wayland-protocols]
version = "0.32"
features = [
    "unstable",
    "client",
]
optional = true

[dependencies.zip]
version = "8.6"
default-features = false

[dev-dependencies.clap]
version = "4.6"
features = ["derive"]

[dev-dependencies.criterion]
version = "0.8"
