Skip to content

Commit b30cdd4

Browse files
authored
set metadata targets for docs.rs (#92)
* set metadata targets for docs.rs * removed x86 apple targets
1 parent 367978e commit b30cdd4

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

Cargo.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@ categories = ["science"]
1414
license = "MIT OR Apache-2.0"
1515
readme = "README.md"
1616

17+
[package.metadata.docs.rs]
18+
targets = [
19+
"aarch64-apple-darwin",
20+
"aarch64-apple-ios",
21+
"aarch64-apple-ios-sim",
22+
]
23+
1724
[dependencies]
1825
mlx-sys = { version = "0.0.8", path = "mlx-sys" }
1926
mlx-macros = { version = "0.1.0", path = "mlx-macros" }

mlx-sys/Cargo.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@ categories = ["science"]
1111
license = "MIT OR Apache-2.0"
1212
readme = "README.md"
1313

14+
[package.metadata.docs.rs]
15+
targets = [
16+
"aarch64-apple-darwin",
17+
"aarch64-apple-ios",
18+
"aarch64-apple-ios-sim",
19+
]
20+
1421
[features]
1522
default = ["accelerate", "metal"]
1623

0 commit comments

Comments
 (0)