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.

Hoist `strum` to workspace level (#15243)

Marshall Bowers05003ed4c513
diff --git a/Cargo.toml b/Cargo.toml
index 855d7ace1c3..325dc0b7cac 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,4 +1,5 @@
[workspace]
+resolver = "2"
members = [
"crates/activity_indicator",
"crates/anthropic",
@@ -157,11 +158,9 @@ members = [
"tooling/xtask",
]
default-members = ["crates/zed"]
-resolver = "2"
[workspace.dependencies]
activity_indicator = { path = "crates/activity_indicator" }
-aho-corasick = "1.1"
ai = { path = "crates/ai" }
anthropic = { path = "crates/anthropic" }
assets = { path = "crates/assets" }
@@ -285,6 +284,7 @@ worktree = { path = "crates/worktree" }
zed = { path = "crates/zed" }
zed_actions = { path = "crates/zed_actions" }
+aho-corasick = "1.1"
alacritty_terminal = "0.23"
any_vec = "0.14"
anyhow = "1.0.86"
@@ -388,6 +388,7 @@ smallvec = { version = "1.6", features = ["union"] }
smol = "1.2"
strum = { version = "0.25.0", features = ["derive"] }
subtle = "2.5.0"
+sys-locale = "0.3.1"
sysinfo = "0.30.7"
tempfile = "3.9.0"
thiserror = "1.0.29"
@@ -442,7 +443,6 @@ wasmtime = { version = "21.0.1", default-features = false, features = [
wasmtime-wasi = "21.0.1"
which = "6.0.0"
wit-component = "0.201"
-sys-locale = "0.3.1"
[workspace.dependencies.windows]
version = "0.58"
diff --git a/crates/storybook/Cargo.toml b/crates/storybook/Cargo.toml
index 1c58b2f082a..3b10d6331b6 100644
--- a/crates/storybook/Cargo.toml
+++ b/crates/storybook/Cargo.toml
@@ -31,7 +31,7 @@ rust-embed.workspace = true
settings.workspace = true
simplelog.workspace = true
story.workspace = true
-strum = { version = "0.25.0", features = ["derive"] }
+strum = { workspace = true, features = ["derive"] }
theme.workspace = true
title_bar = { workspace = true, features = ["stories"] }
ui = { workspace = true, features = ["stories"] }
diff --git a/crates/theme_importer/Cargo.toml b/crates/theme_importer/Cargo.toml
index 5d8b0b8c0fd..9140ffceb74 100644
--- a/crates/theme_importer/Cargo.toml
+++ b/crates/theme_importer/Cargo.toml
@@ -21,6 +21,6 @@ serde.workspace = true
serde_json.workspace = true
serde_json_lenient.workspace = true
simplelog.workspace= true
-strum = { version = "0.25.0", features = ["derive"] }
+strum = { workspace = true, features = ["derive"] }
theme.workspace = true
vscode_theme = "0.2.0"
diff --git a/crates/ui/Cargo.toml b/crates/ui/Cargo.toml
index c5cb53d3d2a..71e67cb1842 100644
--- a/crates/ui/Cargo.toml
+++ b/crates/ui/Cargo.toml
@@ -21,7 +21,7 @@ serde.workspace = true
settings.workspace = true
smallvec.workspace = true
story = { workspace = true, optional = true }
-strum = { version = "0.25.0", features = ["derive"] }
+strum = { workspace = true, features = ["derive"] }
theme.workspace = true
[target.'cfg(windows)'.dependencies]