Skip to content

Commit

Permalink
set metadata targets for docs.rs (#92)
Browse files Browse the repository at this point in the history
* set metadata targets for docs.rs

* removed x86 apple targets
  • Loading branch information
minghuaw authored Jul 13, 2024
1 parent 367978e commit b30cdd4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ categories = ["science"]
license = "MIT OR Apache-2.0"
readme = "README.md"

[package.metadata.docs.rs]
targets = [
"aarch64-apple-darwin",
"aarch64-apple-ios",
"aarch64-apple-ios-sim",
]

[dependencies]
mlx-sys = { version = "0.0.8", path = "mlx-sys" }
mlx-macros = { version = "0.1.0", path = "mlx-macros" }
Expand Down
7 changes: 7 additions & 0 deletions mlx-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ categories = ["science"]
license = "MIT OR Apache-2.0"
readme = "README.md"

[package.metadata.docs.rs]
targets = [
"aarch64-apple-darwin",
"aarch64-apple-ios",
"aarch64-apple-ios-sim",
]

[features]
default = ["accelerate", "metal"]

Expand Down

0 comments on commit b30cdd4

Please sign in to comment.