[package]
edition = "2021"
rust-version = "1.75"
name = "edgefirst-tflite"
version = "0.4.0"
authors = ["Au-Zone Technologies <support@au-zone.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Ergonomic Rust API for TensorFlow Lite with DMABUF zero-copy and NPU preprocessing"
homepage = "https://edgefirst.ai"
documentation = "https://docs.rs/edgefirst-tflite"
readme = "README.md"
keywords = [
"tflite",
"tensorflow-lite",
"edgefirst",
"inference",
"edge-ai",
]
categories = [
"computer-vision",
"multimedia::video",
"external-ffi-bindings",
]
license = "Apache-2.0"
repository = "https://github.com/EdgeFirstAI/tflite-rs"
[features]
camera_adaptor = []
default = []
dmabuf = []
full = [
"metadata",
"dmabuf",
"camera_adaptor",
]
metadata = ["dep:flatbuffers"]
[lib]
name = "edgefirst_tflite"
path = "src/lib.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[test]]
name = "on_device"
path = "tests/on_device.rs"
[dependencies.edgefirst-tflite-sys]
version = "0.4.0"
[dependencies.flatbuffers]
version = "25.2"
optional = true
[dependencies.libloading]
version = "0.8"
[dependencies.log]
version = "0.4"
[dependencies.num-derive]
version = "0.4"
[dependencies.num-traits]
version = "0.2"
[lints.clippy]
missing_errors_doc = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_debug_implementations = "warn"
redundant_imports = "warn"
redundant_lifetimes = "warn"
trivial_numeric_casts = "warn"
unsafe_op_in_unsafe_fn = "warn"
unused_lifetimes = "warn"