ane 0.1.0

Rust bindings for the Apple Neural Engine (ANE) via the private AppleNeuralEngine.framework
# 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 = "2024"
name = "ane"
version = "0.1.0"
authors = ["Eugene Bokhan <eugenebokhan@icloud.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust bindings for the Apple Neural Engine (ANE) via the private AppleNeuralEngine.framework"
readme = "README.md"
keywords = [
    "apple",
    "neural-engine",
    "ane",
    "machine-learning",
]
categories = [
    "api-bindings",
    "hardware-support",
]
license = "MIT"
repository = "https://github.com/computer-graphics-tools/ane"

[lib]
name = "ane"
crate-type = ["lib"]
path = "src/lib.rs"

[[example]]
name = "gpt2_forward"
path = "examples/gpt2_forward/main.rs"

[dependencies.half]
version = "2"

[dependencies.hf-hub]
version = "0.5"

[dependencies.libc]
version = "0.2"

[dependencies.objc2]
version = "0.6"

[dependencies.objc2-foundation]
version = "0.3"
features = ["NSObjCRuntime"]

[dependencies.objc2-io-surface]
version = "0.3"
features = [
    "IOSurfaceRef",
    "IOSurfaceTypes",
    "objc2",
    "objc2-foundation",
    "objc2-core-foundation",
    "libc",
]

[dependencies.rand]
version = "0.10"

[dependencies.safetensors]
version = "0.7"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokenizers]
version = "0.22"