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 `nanoid` to workspace-level (#11029)

Marshall Bowersa4ad3bcc08f6
diff --git a/Cargo.toml b/Cargo.toml
index 0c4200f3e27..0c093cca617 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -283,6 +283,7 @@ itertools = "0.11.0"
lazy_static = "1.4.0"
linkify = "0.10.0"
log = { version = "0.4.16", features = ["kv_unstable_serde"] }
+nanoid = "0.4"
ordered-float = "2.1.1"
palette = { version = "0.7.5", default-features = false, features = ["std"] }
parking_lot = "0.12.1"
diff --git a/crates/assistant2/Cargo.toml b/crates/assistant2/Cargo.toml
index 4a0703f27b7..82b43dbaa48 100644
--- a/crates/assistant2/Cargo.toml
+++ b/crates/assistant2/Cargo.toml
@@ -24,7 +24,7 @@ futures.workspace = true
gpui.workspace = true
language.workspace = true
log.workspace = true
-nanoid = "0.4"
+nanoid.workspace = true
open_ai.workspace = true
project.workspace = true
rich_text.workspace = true
diff --git a/crates/collab/Cargo.toml b/crates/collab/Cargo.toml
index 1b58438e9ac..25692ca6909 100644
--- a/crates/collab/Cargo.toml
+++ b/crates/collab/Cargo.toml
@@ -37,7 +37,7 @@ google_ai.workspace = true
hex.workspace = true
live_kit_server.workspace = true
log.workspace = true
-nanoid = "0.4"
+nanoid.workspace = true
open_ai.workspace = true
parking_lot.workspace = true
prometheus = "0.13"
diff --git a/crates/live_kit_client/Cargo.toml b/crates/live_kit_client/Cargo.toml
index 0d1cf08ad8a..e893e0aab10 100644
--- a/crates/live_kit_client/Cargo.toml
+++ b/crates/live_kit_client/Cargo.toml
@@ -35,7 +35,7 @@ gpui = { workspace = true, optional = true }
live_kit_server = { workspace = true, optional = true }
log.workspace = true
media.workspace = true
-nanoid = { version = "0.4", optional = true}
+nanoid = { workspace = true, optional = true}
parking_lot.workspace = true
postage.workspace = true
@@ -47,14 +47,14 @@ async-trait = { workspace = true }
collections = { workspace = true }
gpui = { workspace = true }
live_kit_server.workspace = true
-nanoid = "0.4"
+nanoid.workspace = true
[dev-dependencies]
async-trait.workspace = true
collections = { workspace = true, features = ["test-support"] }
gpui = { workspace = true, features = ["test-support"] }
live_kit_server.workspace = true
-nanoid = "0.4"
+nanoid.workspace = true
sha2.workspace = true
simplelog = "0.9"