hide MacOS dependencie of live_kit_client and media

Dzmitry Malyshau created

Change summary

crates/live_kit_client/Cargo.toml | 8 +++++++-
crates/media/Cargo.toml           | 2 +-
2 files changed, 8 insertions(+), 2 deletions(-)

Detailed changes

crates/live_kit_client/Cargo.toml 🔗

@@ -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

crates/media/Cargo.toml 🔗

@@ -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"