executorch 0.9.0

Rust bindings for ExecuTorch - On-device AI across mobile, embedded and edge for PyTorch
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.77.0"
name = "executorch"
version = "0.9.0"
authors = ["Barak Ugav <barakugav@gmail.com>"]
build = "build.rs"
include = [
    "Cargo.toml",
    "build.rs",
    "src/",
    "README.md",
    "LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "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]
alloc = []
data-loader = ["executorch-sys/data-loader"]
default = [
    "std",
    "ndarray",
]
etdump = ["executorch-sys/etdump"]
flat-tensor = ["executorch-sys/flat-tensor"]
half = ["dep:half"]
module = [
    "executorch-sys/module",
    "std",
    "data-loader",
    "flat-tensor",
]
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"

[dependencies.cfg-if]
version = "1.0"

[dependencies.executorch-sys]
version = "0.9.0"
default-features = false

[dependencies.half]
version = "2.4"
optional = true
default-features = false

[dependencies.ndarray]
version = ">=0.16, <0.18"
optional = true
default-features = false

[dependencies.num-complex]
version = "0.4"
optional = true
default-features = false

[dev-dependencies.ctor]
version = "0.6"

[dev-dependencies.libc]
version = "0.2"