Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

hide MacOS dependencie of live_kit_client and media

Dzmitry Malyshauecf4955899c9
diff --git a/crates/live_kit_client/Cargo.toml b/crates/live_kit_client/Cargo.toml
index 32c180c48c6..3aeba54af04 100644
--- a/crates/live_kit_client/Cargo.toml
+++ b/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
diff --git a/crates/media/Cargo.toml b/crates/media/Cargo.toml
index 351ae372528..bb9751e9daf 100644
--- a/crates/media/Cargo.toml
+++ b/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"