Hoist `nanoid` to workspace-level (#11029)

Marshall Bowers created

This PR hoists `nanoid` up to a workspace dependency.

Release Notes:

- N/A

Change summary

Cargo.toml                        | 1 +
crates/assistant2/Cargo.toml      | 2 +-
crates/collab/Cargo.toml          | 2 +-
crates/live_kit_client/Cargo.toml | 6 +++---
4 files changed, 6 insertions(+), 5 deletions(-)

Detailed changes

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"

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

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"

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"