# 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" name = "mlx-rs" version = "0.14.0" authors = [ "Minghua Wu ", "David Chavez ", ] description = "Unofficial rust wrapper for Apple's mlx machine learning library." readme = "README.md" keywords = [ "mlx", "deep-learning", "machine-learning", ] categories = ["science"] license = "MIT OR Apache-2.0" repository = "https://github.com/oxideai/mlx-rs" [package.metadata.docs.rs] targets = [ "aarch64-apple-darwin", "aarch64-apple-ios", "aarch64-apple-ios-sim", ] [dependencies.half] version = "2" [dependencies.libc] version = "0.2" [dependencies.mach-sys] version = "0.5.4" [dependencies.mlx-macros] version = "0.1.0" [dependencies.mlx-sys] version = "0.0.8" [dependencies.num-complex] version = "0.4" [dependencies.num-traits] version = "0.2.18" [dependencies.num_enum] version = "0.7.2" [dependencies.paste] version = "1.0.14" [dependencies.smallvec] version = "1" [dependencies.strum] version = "0.26" features = ["derive"] [dependencies.thiserror] version = "1.0.58" [dev-dependencies.float_eq] version = "1" [dev-dependencies.pretty_assertions] version = "1.4.0" [features] accelerate = ["mlx-sys/accelerate"] default = [ "accelerate", "metal", ] metal = ["mlx-sys/metal"]