fix: isolate macos-specific dependencies (#6854)

Release Notes:
- N/A
This commit is contained in:
Amin Yahyaabadi 2024-01-27 04:38:55 -08:00 committed by GitHub
parent 1f83b5c508
commit 0e4d9472a9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 24 additions and 16 deletions

View file

@ -14,10 +14,12 @@ doctest = false
anyhow.workspace = true
block = "0.1"
bytes = "1.2"
core-foundation = "0.9.3"
foreign-types = "0.3"
metal = "0.21.0"
[target.'cfg(target_os = "macos")'.dependencies]
core-foundation = "0.9.3"
objc = "0.2"
metal = "0.21.0"
[build-dependencies]
bindgen = "0.65.1"