Remove zed -> ... -> semantic_index -> zed Cargo dependency cycle

This commit is contained in:
Kirill Bulatov 2023-10-13 10:20:55 +03:00
parent 45f3a98359
commit 525ff6bf74
4 changed files with 5 additions and 5 deletions

2
Cargo.lock generated
View File

@ -6956,7 +6956,6 @@ dependencies = [
"unindent", "unindent",
"util", "util",
"workspace", "workspace",
"zed",
] ]
[[package]] [[package]]
@ -10049,6 +10048,7 @@ name = "zed"
version = "0.109.0" version = "0.109.0"
dependencies = [ dependencies = [
"activity_indicator", "activity_indicator",
"ai",
"anyhow", "anyhow",
"assistant", "assistant",
"async-compression", "async-compression",

View File

@ -51,7 +51,6 @@ workspace = { path = "../workspace", features = ["test-support"] }
settings = { path = "../settings", features = ["test-support"]} settings = { path = "../settings", features = ["test-support"]}
rust-embed = { version = "8.0", features = ["include-exclude"] } rust-embed = { version = "8.0", features = ["include-exclude"] }
client = { path = "../client" } client = { path = "../client" }
zed = { path = "../zed"}
node_runtime = { path = "../node_runtime"} node_runtime = { path = "../node_runtime"}
pretty_assertions.workspace = true pretty_assertions.workspace = true
@ -70,6 +69,3 @@ tree-sitter-elixir.workspace = true
tree-sitter-lua.workspace = true tree-sitter-lua.workspace = true
tree-sitter-ruby.workspace = true tree-sitter-ruby.workspace = true
tree-sitter-php.workspace = true tree-sitter-php.workspace = true
[[example]]
name = "eval"

View File

@ -15,6 +15,9 @@ doctest = false
name = "Zed" name = "Zed"
path = "src/main.rs" path = "src/main.rs"
[[example]]
name = "semantic_index_eval"
[dependencies] [dependencies]
audio = { path = "../audio" } audio = { path = "../audio" }
activity_indicator = { path = "../activity_indicator" } activity_indicator = { path = "../activity_indicator" }
@ -141,6 +144,7 @@ urlencoding = "2.1.2"
uuid.workspace = true uuid.workspace = true
[dev-dependencies] [dev-dependencies]
ai = { path = "../ai" }
call = { path = "../call", features = ["test-support"] } call = { path = "../call", features = ["test-support"] }
client = { path = "../client", features = ["test-support"] } client = { path = "../client", features = ["test-support"] }
editor = { path = "../editor", features = ["test-support"] } editor = { path = "../editor", features = ["test-support"] }