Skip to content

Commit

Permalink
Hoist languages crate's dependencies to the workspace level (zed-in…
Browse files Browse the repository at this point in the history
…dustries#8394)

This PR hoists all of the dependencies of the `languages` crate to the
workspace level.

Release Notes:

- N/A
  • Loading branch information
maxdeviant authored Feb 25, 2024
1 parent 368fec2 commit b299461
Show file tree
Hide file tree
Showing 9 changed files with 38 additions and 47 deletions.
19 changes: 5 additions & 14 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ journal = { path = "crates/journal" }
language = { path = "crates/language" }
language_selector = { path = "crates/language_selector" }
language_tools = { path = "crates/language_tools" }
languages = { path = "crates/languages" }
live_kit_client = { path = "crates/live_kit_client" }
live_kit_server = { path = "crates/live_kit_server" }
lsp = { path = "crates/lsp" }
Expand Down Expand Up @@ -228,6 +229,7 @@ serde_json = { version = "1.0", features = ["preserve_order", "raw_value"] }
serde_json_lenient = { version = "0.1", features = ["preserve_order", "raw_value"] }
serde_repr = "0.1"
sha2 = "0.10"
shellexpand = "2.1.0"
smallvec = { version = "1.6", features = ["union"] }
smol = "1.2"
strum = { version = "0.25.0", features = ["derive"] }
Expand Down
2 changes: 1 addition & 1 deletion crates/copilot/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ test-support = [
[dependencies]
anyhow.workspace = true
async-compression.workspace = true
async-tar = "0.4.2"
async-tar.workspace = true
collections.workspace = true
futures.workspace = true
gpui.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/journal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ log.workspace = true
schemars.workspace = true
serde.workspace = true
settings.workspace = true
shellexpand = "2.1.0"
shellexpand.workspace = true
util.workspace = true
workspace.workspace = true

Expand Down
45 changes: 22 additions & 23 deletions crates/languages/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,41 @@ license = "GPL-3.0-or-later"

[dependencies]
anyhow.workspace = true
async-compression.workspace = true
async-tar.workspace = true
async-trait.workspace = true
collections.workspace = true
feature_flags.workspace = true
futures.workspace = true
gpui.workspace = true
language.workspace = true
lazy_static.workspace = true
log.workspace = true
lsp.workspace = true
node_runtime.workspace = true
parking_lot.workspace = true
project.workspace = true
regex.workspace = true
rope.workspace = true
rust-embed = "8.2.0"
schemars.workspace = true
serde.workspace = true
serde_derive.workspace = true
serde_json.workspace = true
settings.workspace = true

shellexpand.workspace = true
smol.workspace = true
task.workspace = true
toml.workspace = true
tree-sitter-astro.workspace = true
tree-sitter-bash.workspace = true
tree-sitter-c-sharp.workspace = true
tree-sitter-c.workspace = true
tree-sitter-clojure.workspace = true
tree-sitter-cpp.workspace = true
tree-sitter-css.workspace = true
tree-sitter-dockerfile.workspace = true
tree-sitter-dart.workspace = true
tree-sitter-dockerfile.workspace = true
tree-sitter-elixir.workspace = true
tree-sitter-elm.workspace = true
tree-sitter-embedded-template.workspace = true
Expand Down Expand Up @@ -60,27 +80,6 @@ tree-sitter-yaml.workspace = true
tree-sitter-zig.workspace = true
tree-sitter.workspace = true
util.workspace = true
lsp.workspace = true
async-trait = "0.1.77"
shellexpand = "3.1.0"
serde_json.workspace = true
serde_derive.workspace = true
futures.workspace = true
smol.workspace = true
toml.workspace = true
lazy_static.workspace = true
schemars.workspace = true
log.workspace = true
task.workspace = true
parking_lot.workspace = true
async-compression = "0.4.6"
collections.workspace = true
async-tar = "0.4.2"
regex.workspace = true
feature_flags.workspace = true
project.workspace = true
serde.workspace = true
rope.workspace = true

[dev-dependencies]
text.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/node_runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ doctest = false
[dependencies]
anyhow.workspace = true
async-compression.workspace = true
async-tar = "0.4.2"
async-tar.workspace = true
async-trait.workspace = true
futures.workspace = true
log.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/terminal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ serde.workspace = true
serde_derive.workspace = true
serde_json.workspace = true
settings.workspace = true
shellexpand = "2.1.0"
shellexpand.workspace = true
smallvec.workspace = true
smol.workspace = true
theme.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/terminal_view/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ serde.workspace = true
serde_derive.workspace = true
serde_json.workspace = true
settings.workspace = true
shellexpand = "2.1.0"
shellexpand.workspace = true
smallvec.workspace = true
smol.workspace = true
terminal.workspace = true
Expand Down
9 changes: 4 additions & 5 deletions crates/zed/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ journal.workspace = true
language.workspace = true
language_selector.workspace = true
language_tools.workspace = true
languages.workspace = true
lazy_static.workspace = true
libc = "0.2"
log.workspace = true
Expand All @@ -90,8 +91,6 @@ release_channel.workspace = true
rope.workspace = true
rpc.workspace = true
rsa = "0.4"
task.workspace = true
tasks_ui.workspace = true
rust-embed.workspace = true
schemars.workspace = true
search.workspace = true
Expand All @@ -100,11 +99,13 @@ serde.workspace = true
serde_derive.workspace = true
serde_json.workspace = true
settings.workspace = true
shellexpand = "2.1.0"
shellexpand.workspace = true
simplelog = "0.9"
smallvec.workspace = true
smol.workspace = true
sum_tree.workspace = true
task.workspace = true
tasks_ui.workspace = true
tempfile.workspace = true
terminal_view.workspace = true
text.workspace = true
Expand All @@ -121,8 +122,6 @@ vim.workspace = true
welcome.workspace = true
workspace.workspace = true
zed_actions.workspace = true
languages = { version = "0.1.0", path = "../languages" }


[dev-dependencies]
call = { workspace = true, features = ["test-support"] }
Expand Down

0 comments on commit b299461

Please sign in to comment.