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.

Move gpui derives tests into gpui crate to avoid dependency cycles

Kirill Bulatov1c4be24fb736
diff --git a/Cargo.lock b/Cargo.lock
index 1ff9981a6a0..a0be9756bfd 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3172,7 +3172,6 @@ dependencies = [
name = "gpui_macros"
version = "0.1.0"
dependencies = [
- "gpui",
"proc-macro2",
"quote",
"syn 1.0.109",
diff --git a/crates/gpui_macros/tests/test.rs b/crates/gpui/tests/test.rs
similarity index 100%
rename from crates/gpui_macros/tests/test.rs
rename to crates/gpui/tests/test.rs
diff --git a/crates/gpui_macros/Cargo.toml b/crates/gpui_macros/Cargo.toml
index 9ff340299b6..9d1d232c95d 100644
--- a/crates/gpui_macros/Cargo.toml
+++ b/crates/gpui_macros/Cargo.toml
@@ -13,6 +13,3 @@ doctest = false
syn = "1.0"
quote = "1.0"
proc-macro2 = "1.0"
-
-[dev-dependencies]
-gpui = { path = "../gpui" }