[package]
edition = "2021"
rust-version = "1.75"
name = "litert"
version = "0.2.0"
authors = ["LiteRT-rs Contributors"]
build = "build.rs"
include = [
"Cargo.toml",
"README.md",
"build.rs",
"src/**/*.rs",
"examples/**/*.rs",
"tests/**/*.rs",
"tests/data/*.tflite",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Safe, idiomatic Rust bindings to Google's LiteRT (TFLite) on-device ML runtime."
homepage = "https://github.com/offbit-ai/LiteRT"
documentation = "https://docs.rs/litert"
readme = "README.md"
keywords = [
"litert",
"tflite",
"tensorflow",
"ml",
"inference",
]
categories = [
"api-bindings",
"science",
]
license = "Apache-2.0"
repository = "https://github.com/offbit-ai/LiteRT"
[lib]
name = "litert"
path = "src/lib.rs"
[[example]]
name = "add_cpu"
path = "examples/add_cpu.rs"
[[example]]
name = "add_gpu"
path = "examples/add_gpu.rs"
[[example]]
name = "image_classification"
path = "examples/image_classification.rs"
[[test]]
name = "inference"
path = "tests/inference.rs"
[[test]]
name = "inference_gpu"
path = "tests/inference_gpu.rs"
[[test]]
name = "lifecycle"
path = "tests/lifecycle.rs"
[dependencies.libloading]
version = "0.8"
[dependencies.litert-sys]
version = "0.2.0"
[dependencies.thiserror]
version = "1"
[dev-dependencies.flate2]
version = "1"
[dev-dependencies.tar]
version = "0.4"
[dev-dependencies.ureq]
version = "2"
features = ["tls"]
default-features = false