coreml-native 0.2.0

Safe, ergonomic Rust bindings for Apple CoreML inference with ANE acceleration
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.75.0"
name = "coreml-native"
version = "0.2.0"
authors = ["coreml-native contributors"]
build = false
exclude = [
    ".claude/",
    ".claude-flow/",
    "_bmad/",
    "_bmad-output/",
    "docs/",
    "scripts/",
    ".github/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Safe, ergonomic Rust bindings for Apple CoreML inference with ANE acceleration"
homepage = "https://github.com/robertelee78/coreml-native"
documentation = "https://docs.rs/coreml-native"
readme = "README.md"
keywords = [
    "coreml",
    "apple",
    "neural-engine",
    "inference",
    "machine-learning",
]
categories = [
    "os::macos-apis",
    "science",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/robertelee78/coreml-native"

[features]
default = []
ndarray = ["dep:ndarray"]

[lib]
name = "coreml_native"
path = "src/lib.rs"

[[example]]
name = "inspect_model"
path = "examples/inspect_model.rs"

[[example]]
name = "load_and_predict"
path = "examples/load_and_predict.rs"

[[test]]
name = "integration_test"
path = "tests/integration_test.rs"

[dependencies.ndarray]
version = "0.16"
optional = true

[dev-dependencies]

[target.'cfg(target_vendor = "apple")'.dependencies.block2]
version = "0.6"

[target.'cfg(target_vendor = "apple")'.dependencies.objc2]
version = "0.6"

[target.'cfg(target_vendor = "apple")'.dependencies.objc2-core-ml]
version = "0.3"
features = [
    "MLModel",
    "MLModelConfiguration",
    "MLModelDescription",
    "MLMultiArray",
    "MLMultiArrayConstraint",
    "MLMultiArrayShapeConstraint",
    "MLMultiArrayShapeConstraintType",
    "MLFeatureValue",
    "MLFeatureDescription",
    "MLFeatureType",
    "MLDictionaryFeatureProvider",
    "MLFeatureProvider",
    "MLPredictionOptions",
    "MLBatchProvider",
    "MLArrayBatchProvider",
    "MLOptimizationHints",
    "MLModel_MLModelCompilation",
    "MLModelAsset",
    "block2",
]

[target.'cfg(target_vendor = "apple")'.dependencies.objc2-foundation]
version = "0.3"
features = [
    "NSString",
    "NSArray",
    "NSDictionary",
    "NSValue",
    "NSURL",
    "NSError",
    "NSSet",
    "NSEnumerator",
    "NSObjCRuntime",
    "NSData",
]