rknpu2 0.0.8

Unofficial bindings to rknpu2 (librknnrt and librknnmrt)
Documentation
[dependencies.bitflags]
version = "2.10.0"

[dependencies.half]
version = "2.7"

[dependencies.rknpu2-sys]
version = "0.0.2"

[dev-dependencies.image]
version = "0.25.9"

[dev-dependencies.itertools]
version = "0.14.0"

[[example]]
name = "mobilenet"
path = "examples/mobilenet.rs"

[features]
default = []
docs = ["rv110x", "rk2118", "rk35xx", "rk3576", "libloading"]
libloading = ["rknpu2-sys/libloading"]
rk2118 = ["rknpu2-sys/rk2118"]
rk3576 = ["rknpu2-sys/rk3576"]
rk35xx = ["rknpu2-sys/rk35xx"]
rv110x = ["rknpu2-sys/rv110x"]

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

[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "Unofficial bindings to rknpu2 (librknnrt and librknnmrt)"
documentation = "https://docs.rs/rknpu2"
edition = "2024"
license = "MIT OR Apache-2.0"
name = "rknpu2"
readme = "README.md"
repository = "https://github.com/boundarybitlabs/rknpu2-rs"
version = "0.0.8"

[package.metadata.docs.rs]
features = ["docs"]
rustc-args = ["--cfg", "docsrs"]

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

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