[package]
edition = "2021"
rust-version = "1.77.0"
name = "executorch-sys"
version = "0.9.0"
authors = ["Barak Ugav <barakugav@gmail.com>"]
build = "build.rs"
links = "executorch"
include = [
"Cargo.toml",
"build.rs",
"src/",
"cpp/",
"third-party/",
"README.md",
"LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Unsafe Rust bindings for ExecuTorch - On-device AI across mobile, embedded and edge for PyTorch"
readme = "README.md"
keywords = [
"executorch",
"pytorch",
"machine-learning",
"edge-device",
"bindings",
]
categories = [
"algorithms",
"mathematics",
"embedded",
"no-std",
"no-std::no-alloc",
]
license = "Apache-2.0"
repository = "https://github.com/barakugav/executorch-rs"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
data-loader = []
default = ["std"]
etdump = []
flat-tensor = []
module = [
"std",
"data-loader",
"flat-tensor",
]
std = [
"cxx",
"cxx-build",
"link-cplusplus",
]
tensor-ptr = ["std"]
[lib]
name = "executorch_sys"
path = "src/lib.rs"
[dependencies.cxx]
version = "1.0"
optional = true
[dependencies.link-cplusplus]
version = "1.0"
optional = true
[build-dependencies.bindgen]
version = "0.72"
[build-dependencies.cc]
version = "1.2"
[build-dependencies.cxx-build]
version = "1.0"
optional = true