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 `chrono` dependency to workspace level (#8414)

Marshall Bowers841e010fa4d7
diff --git a/crates/client/Cargo.toml b/crates/client/Cargo.toml
index 5ecd14b2579..57d0be23db9 100644
--- a/crates/client/Cargo.toml
+++ b/crates/client/Cargo.toml
@@ -13,7 +13,7 @@ doctest = false
test-support = ["clock/test-support", "collections/test-support", "gpui/test-support", "rpc/test-support"]
[dependencies]
-chrono = { version = "0.4", features = ["serde"] }
+chrono = { workspace = true, features = ["serde"] }
clock.workspace = true
collections.workspace = true
db.workspace = true
diff --git a/crates/journal/Cargo.toml b/crates/journal/Cargo.toml
index c6962fdc470..0e109d8905a 100644
--- a/crates/journal/Cargo.toml
+++ b/crates/journal/Cargo.toml
@@ -11,7 +11,7 @@ doctest = false
[dependencies]
anyhow.workspace = true
-chrono = "0.4"
+chrono.workspace = true
dirs = "4.0"
editor.workspace = true
gpui.workspace = true
diff --git a/crates/ui/Cargo.toml b/crates/ui/Cargo.toml
index 26fece87a20..10b92744a7f 100644
--- a/crates/ui/Cargo.toml
+++ b/crates/ui/Cargo.toml
@@ -11,7 +11,7 @@ path = "src/ui.rs"
[dependencies]
anyhow.workspace = true
-chrono = "0.4"
+chrono.workspace = true
gpui.workspace = true
itertools = { version = "0.11.0", optional = true }
menu.workspace = true
diff --git a/crates/zed/Cargo.toml b/crates/zed/Cargo.toml
index df39e2cb18f..0d04f802034 100644
--- a/crates/zed/Cargo.toml
+++ b/crates/zed/Cargo.toml
@@ -31,7 +31,7 @@ backtrace = "0.3"
breadcrumbs.workspace = true
call.workspace = true
channel.workspace = true
-chrono = "0.4"
+chrono.workspace = true
cli.workspace = true
client.workspace = true
clock.workspace = true