hide MacOS dependencie of live_kit_client and media

This commit is contained in:
Dzmitry Malyshau 2024-01-30 21:37:54 -08:00
parent 8aa768765f
commit ecf4955899
2 changed files with 8 additions and 2 deletions

View File

@ -52,7 +52,6 @@ block = "0.1"
byteorder = "1.4"
bytes = "1.2"
collections = { path = "../collections", features = ["test-support"] }
foreign-types = "0.3"
futures.workspace = true
gpui = { path = "../gpui", features = ["test-support"] }
hmac = "0.12"
@ -66,6 +65,13 @@ serde_derive.workspace = true
sha2 = "0.10"
simplelog = "0.9"
[target.'cfg(target_os = "macos")'.dev-dependencies]
cocoa = "0.25"
core-foundation = "0.9.3"
core-graphics = "0.22.3"
foreign-types = "0.3"
objc = "0.2"
[build-dependencies]
serde.workspace = true
serde_derive.workspace = true

View File

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