[dependencies.cfg-if]
version = "1.0"
[dependencies.executorch-sys]
default-features = false
version = "0.7.1"
[dependencies.half]
default-features = false
optional = true
version = "2.4"
[dependencies.ndarray]
default-features = false
optional = true
version = "0.16"
[dependencies.num-complex]
default-features = false
optional = true
version = "0.4"
[dev-dependencies.ctor]
version = "0.4"
[features]
alloc = []
data-loader = ["executorch-sys/data-loader"]
default = ["std", "ndarray"]
etdump = ["executorch-sys/etdump"]
half = ["dep:half"]
module = ["executorch-sys/module", "std", "data-loader"]
ndarray = ["dep:ndarray"]
num-complex = ["dep:num-complex"]
std = ["alloc", "executorch-sys/std"]
tensor-ptr = ["executorch-sys/tensor-ptr", "std"]
[lib]
name = "executorch"
path = "src/lib.rs"
[package]
authors = ["Barak Ugav <barakugav@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
categories = ["algorithms", "mathematics", "embedded", "no-std", "no-std::no-alloc"]
description = "Rust bindings for ExecuTorch - On-device AI across mobile, embedded and edge for PyTorch"
edition = "2021"
include = ["Cargo.toml", "build.rs", "src/", "README.md", "LICENSE"]
keywords = ["executorch", "pytorch", "machine-learning", "edge-device", "bindings"]
license = "Apache-2.0"
name = "executorch"
readme = "README.md"
repository = "https://github.com/barakugav/executorch-rs"
rust-version = "1.77.0"
version = "0.7.1"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]