apple-mlx 0.1.1

Rust bindings and safe wrappers for Apple MLX via the official mlx-c API
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 = "2024"
name = "apple-mlx"
version = "0.1.1"
build = "build.rs"
include = [
    "Cargo.toml",
    "Cargo.lock",
    "README.md",
    "Makefile",
    "build.rs",
    "scripts/**",
    "src/**",
    "examples/**",
    "vendor/mlx-c/CMakeLists.txt",
    "vendor/mlx-c/LICENSE",
    "vendor/mlx-c/mlx-c.pc.in",
    "vendor/mlx-c/mlx/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust bindings and safe wrappers for Apple MLX via the official mlx-c API"
homepage = "https://github.com/ms3c/apple-mlx"
documentation = "https://docs.rs/apple-mlx"
readme = "README.md"
keywords = [
    "mlx",
    "apple",
    "ffi",
    "bindings",
    "metal",
]
categories = ["api-bindings"]
license = "MIT"
repository = "https://github.com/ms3c/apple-mlx"

[package.metadata.docs.rs]
features = ["docs-only"]

[features]
docs-only = []

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

[[bin]]
name = "apple-mlx"
path = "src/main.rs"

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

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

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

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

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

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

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

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

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

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

[dependencies]

[build-dependencies.bindgen]
version = "0.71"

[build-dependencies.cmake]
version = "0.1"