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.

Move postage crate version specification to workspace Cargo.toml

Max Brunsfeldcbeb6e692dd5
diff --git a/Cargo.toml b/Cargo.toml
index fd713d42421..9f795992d58 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -71,6 +71,7 @@ serde = { version = "1.0", features = ["derive", "rc"] }
serde_derive = { version = "1.0", features = ["deserialize_in_place"] }
serde_json = { version = "1.0", features = ["preserve_order", "raw_value"] }
rand = { version = "0.8" }
+postage = { version = "0.4.1", features = ["futures-traits"] }
[patch.crates-io]
tree-sitter = { git = "https://github.com/tree-sitter/tree-sitter", rev = "c51896d32dcc11a38e41f36e3deb1a6a9c4f4b14" }
diff --git a/crates/call/Cargo.toml b/crates/call/Cargo.toml
index 54546adb55d..4e738c06510 100644
--- a/crates/call/Cargo.toml
+++ b/crates/call/Cargo.toml
@@ -34,7 +34,7 @@ util = { path = "../util" }
anyhow = "1.0.38"
async-broadcast = "0.4"
futures = "0.3"
-postage = { version = "0.4.1", features = ["futures-traits"] }
+postage = { workspace = true }
[dev-dependencies]
client = { path = "../client", features = ["test-support"] }
diff --git a/crates/client/Cargo.toml b/crates/client/Cargo.toml
index 6ff66b8ecc4..cb6f29a42e5 100644
--- a/crates/client/Cargo.toml
+++ b/crates/client/Cargo.toml
@@ -27,7 +27,7 @@ isahc = "1.7"
lazy_static = "1.4.0"
log = { version = "0.4.16", features = ["kv_unstable_serde"] }
parking_lot = "0.11.1"
-postage = { version = "0.4.1", features = ["futures-traits"] }
+postage = { workspace = true }
rand = "0.8.3"
smol = "1.2.5"
thiserror = "1.0.29"
diff --git a/crates/collab_ui/Cargo.toml b/crates/collab_ui/Cargo.toml
index 9b5ca9c1ea9..516a1b4fe4a 100644
--- a/crates/collab_ui/Cargo.toml
+++ b/crates/collab_ui/Cargo.toml
@@ -42,7 +42,7 @@ workspace = { path = "../workspace" }
anyhow = "1.0"
futures = "0.3"
log = "0.4"
-postage = { version = "0.4.1", features = ["futures-traits"] }
+postage = { workspace = true }
serde = { version = "1.0", features = ["derive", "rc"] }
serde_derive = { version = "1.0", features = ["deserialize_in_place"] }
diff --git a/crates/diagnostics/Cargo.toml b/crates/diagnostics/Cargo.toml
index ebb57e0636a..e28a378a679 100644
--- a/crates/diagnostics/Cargo.toml
+++ b/crates/diagnostics/Cargo.toml
@@ -20,7 +20,7 @@ settings = { path = "../settings" }
theme = { path = "../theme" }
util = { path = "../util" }
workspace = { path = "../workspace" }
-postage = { version = "0.4", features = ["futures-traits"] }
+postage = { workspace = true }
[dev-dependencies]
unindent = "0.1"
diff --git a/crates/editor/Cargo.toml b/crates/editor/Cargo.toml
index 6c52ec70e93..44d0936808c 100644
--- a/crates/editor/Cargo.toml
+++ b/crates/editor/Cargo.toml
@@ -51,7 +51,7 @@ lazy_static = "1.4"
log = { version = "0.4.16", features = ["kv_unstable_serde"] }
ordered-float = "2.1.1"
parking_lot = "0.11"
-postage = { version = "0.4", features = ["futures-traits"] }
+postage = { workspace = true }
rand = { version = "0.8.3", optional = true }
serde = { workspace = true }
serde_derive = { version = "1.0", features = ["deserialize_in_place"] }
diff --git a/crates/feedback/Cargo.toml b/crates/feedback/Cargo.toml
index 51f070dd1d3..1c0d0e93ea4 100644
--- a/crates/feedback/Cargo.toml
+++ b/crates/feedback/Cargo.toml
@@ -21,7 +21,7 @@ gpui = { path = "../gpui" }
human_bytes = "0.4.1"
isahc = "1.7"
lazy_static = "1.4.0"
-postage = { version = "0.4", features = ["futures-traits"] }
+postage = { workspace = true }
project = { path = "../project" }
search = { path = "../search" }
serde = { version = "1.0", features = ["derive", "rc"] }
diff --git a/crates/file_finder/Cargo.toml b/crates/file_finder/Cargo.toml
index 1d1a4dfb1bc..a1a3dbf71a3 100644
--- a/crates/file_finder/Cargo.toml
+++ b/crates/file_finder/Cargo.toml
@@ -19,7 +19,7 @@ settings = { path = "../settings" }
util = { path = "../util" }
theme = { path = "../theme" }
workspace = { path = "../workspace" }
-postage = { version = "0.4.1", features = ["futures-traits"] }
+postage = { workspace = true }
[dev-dependencies]
gpui = { path = "../gpui", features = ["test-support"] }
diff --git a/crates/go_to_line/Cargo.toml b/crates/go_to_line/Cargo.toml
index def6361dc2a..54567b24406 100644
--- a/crates/go_to_line/Cargo.toml
+++ b/crates/go_to_line/Cargo.toml
@@ -15,4 +15,4 @@ menu = { path = "../menu" }
settings = { path = "../settings" }
text = { path = "../text" }
workspace = { path = "../workspace" }
-postage = { version = "0.4", features = ["futures-traits"] }
+postage = { workspace = true }
diff --git a/crates/gpui/Cargo.toml b/crates/gpui/Cargo.toml
index 65d36753e7b..bd994b5407b 100644
--- a/crates/gpui/Cargo.toml
+++ b/crates/gpui/Cargo.toml
@@ -36,7 +36,7 @@ parking = "2.0.0"
parking_lot = "0.11.1"
pathfinder_color = "0.5"
pathfinder_geometry = "0.5"
-postage = { version = "0.4.1", features = ["futures-traits"] }
+postage = { workspace = true }
rand = "0.8.3"
resvg = "0.14"
schemars = "0.8"
diff --git a/crates/language/Cargo.toml b/crates/language/Cargo.toml
index 26e2d8c53ba..ac4badbe2a3 100644
--- a/crates/language/Cargo.toml
+++ b/crates/language/Cargo.toml
@@ -43,7 +43,7 @@ futures = "0.3"
lazy_static = "1.4"
log = { version = "0.4.16", features = ["kv_unstable_serde"] }
parking_lot = "0.11.1"
-postage = { version = "0.4.1", features = ["futures-traits"] }
+postage = { workspace = true }
rand = { version = "0.8.3", optional = true }
regex = "1.5"
serde = { version = "1.0", features = ["derive", "rc"] }
diff --git a/crates/live_kit_client/Cargo.toml b/crates/live_kit_client/Cargo.toml
index 55645732b8f..71a6235b95e 100644
--- a/crates/live_kit_client/Cargo.toml
+++ b/crates/live_kit_client/Cargo.toml
@@ -35,7 +35,7 @@ core-graphics = "0.22.3"
futures = "0.3"
log = { version = "0.4.16", features = ["kv_unstable_serde"] }
parking_lot = "0.11.1"
-postage = { version = "0.4.1", features = ["futures-traits"] }
+postage = { workspace = true }
async-trait = { version = "0.1", optional = true }
lazy_static = { version = "1.4", optional = true }
diff --git a/crates/lsp/Cargo.toml b/crates/lsp/Cargo.toml
index f37b1c9a453..aa1f49977c9 100644
--- a/crates/lsp/Cargo.toml
+++ b/crates/lsp/Cargo.toml
@@ -21,7 +21,7 @@ futures = "0.3"
log = { version = "0.4.16", features = ["kv_unstable_serde"] }
lsp-types = "0.91"
parking_lot = "0.11"
-postage = { version = "0.4.1", features = ["futures-traits"] }
+postage = { workspace = true }
serde = { version = "1.0", features = ["derive", "rc"] }
serde_derive = { version = "1.0", features = ["deserialize_in_place"] }
serde_json = { version = "1.0", features = ["raw_value"] }
diff --git a/crates/outline/Cargo.toml b/crates/outline/Cargo.toml
index 661c84c8cdc..552cf548928 100644
--- a/crates/outline/Cargo.toml
+++ b/crates/outline/Cargo.toml
@@ -18,5 +18,5 @@ settings = { path = "../settings" }
text = { path = "../text" }
workspace = { path = "../workspace" }
ordered-float = "2.1.1"
-postage = { version = "0.4", features = ["futures-traits"] }
+postage = { workspace = true }
smol = "1.2"
diff --git a/crates/project/Cargo.toml b/crates/project/Cargo.toml
index be100b2e87b..2f73daa3386 100644
--- a/crates/project/Cargo.toml
+++ b/crates/project/Cargo.toml
@@ -44,7 +44,7 @@ ignore = "0.4"
lazy_static = "1.4.0"
log = { version = "0.4.16", features = ["kv_unstable_serde"] }
parking_lot = "0.11.1"
-postage = { version = "0.4.1", features = ["futures-traits"] }
+postage = { workspace = true }
pulldown-cmark = { version = "0.9.1", default-features = false }
rand = "0.8.3"
regex = "1.5"
diff --git a/crates/project_panel/Cargo.toml b/crates/project_panel/Cargo.toml
index cc27f40954f..d245700d58e 100644
--- a/crates/project_panel/Cargo.toml
+++ b/crates/project_panel/Cargo.toml
@@ -19,7 +19,7 @@ settings = { path = "../settings" }
theme = { path = "../theme" }
util = { path = "../util" }
workspace = { path = "../workspace" }
-postage = { version = "0.4.1", features = ["futures-traits"] }
+postage = { workspace = true }
futures = "0.3"
unicase = "2.6"
diff --git a/crates/project_symbols/Cargo.toml b/crates/project_symbols/Cargo.toml
index e9283b14c9b..9e79b09d72e 100644
--- a/crates/project_symbols/Cargo.toml
+++ b/crates/project_symbols/Cargo.toml
@@ -20,7 +20,7 @@ workspace = { path = "../workspace" }
util = { path = "../util" }
anyhow = "1.0.38"
ordered-float = "2.1.1"
-postage = { version = "0.4", features = ["futures-traits"] }
+postage = { workspace = true }
smol = "1.2"
[dev-dependencies]
diff --git a/crates/recent_projects/Cargo.toml b/crates/recent_projects/Cargo.toml
index 037c6fd4fb7..e8d851fa083 100644
--- a/crates/recent_projects/Cargo.toml
+++ b/crates/recent_projects/Cargo.toml
@@ -19,5 +19,5 @@ settings = { path = "../settings" }
text = { path = "../text" }
workspace = { path = "../workspace" }
ordered-float = "2.1.1"
-postage = { version = "0.4", features = ["futures-traits"] }
+postage = { workspace = true }
smol = "1.2"
diff --git a/crates/search/Cargo.toml b/crates/search/Cargo.toml
index 85215c15b26..e8c03a1a5e4 100644
--- a/crates/search/Cargo.toml
+++ b/crates/search/Cargo.toml
@@ -22,7 +22,7 @@ workspace = { path = "../workspace" }
anyhow = "1.0"
futures = "0.3"
log = { version = "0.4.16", features = ["kv_unstable_serde"] }
-postage = { version = "0.4.1", features = ["futures-traits"] }
+postage = { workspace = true }
serde = { version = "1.0", features = ["derive", "rc"] }
serde_derive = { version = "1.0", features = ["deserialize_in_place"] }
smallvec = { version = "1.6", features = ["union"] }
diff --git a/crates/settings/Cargo.toml b/crates/settings/Cargo.toml
index 1711bb335bd..566fcfe3557 100644
--- a/crates/settings/Cargo.toml
+++ b/crates/settings/Cargo.toml
@@ -22,7 +22,7 @@ futures = "0.3"
theme = { path = "../theme" }
util = { path = "../util" }
json_comments = "0.2"
-postage = { version = "0.4.1", features = ["futures-traits"] }
+postage = { workspace = true }
schemars = "0.8"
serde = { workspace = true }
serde_derive = { version = "1.0", features = ["deserialize_in_place"] }
diff --git a/crates/text/Cargo.toml b/crates/text/Cargo.toml
index 5fda4b613c0..362a060c1f5 100644
--- a/crates/text/Cargo.toml
+++ b/crates/text/Cargo.toml
@@ -22,7 +22,7 @@ digest = { version = "0.9", features = ["std"] }
lazy_static = "1.4"
log = { version = "0.4.16", features = ["kv_unstable_serde"] }
parking_lot = "0.11"
-postage = { version = "0.4.1", features = ["futures-traits"] }
+postage = { workspace = true }
rand = { version = "0.8.3", optional = true }
smallvec = { version = "1.6", features = ["union"] }
util = { path = "../util" }
diff --git a/crates/theme_selector/Cargo.toml b/crates/theme_selector/Cargo.toml
index 80ff3110694..2c922200b2a 100644
--- a/crates/theme_selector/Cargo.toml
+++ b/crates/theme_selector/Cargo.toml
@@ -19,6 +19,5 @@ workspace = { path = "../workspace" }
util = { path = "../util" }
log = { version = "0.4.16", features = ["kv_unstable_serde"] }
parking_lot = "0.11.1"
-postage = { version = "0.4.1", features = ["futures-traits"] }
+postage = { workspace = true }
smol = "1.2.5"
-
diff --git a/crates/workspace/Cargo.toml b/crates/workspace/Cargo.toml
index 06b20684c60..9a6813f6271 100644
--- a/crates/workspace/Cargo.toml
+++ b/crates/workspace/Cargo.toml
@@ -43,7 +43,7 @@ lazy_static = "1.4"
env_logger = "0.9.1"
log = { version = "0.4.16", features = ["kv_unstable_serde"] }
parking_lot = "0.11.1"
-postage = { version = "0.4.1", features = ["futures-traits"] }
+postage = { workspace = true }
serde = { version = "1.0", features = ["derive", "rc"] }
serde_derive = { version = "1.0", features = ["deserialize_in_place"] }
serde_json = { version = "1.0", features = ["preserve_order"] }
diff --git a/crates/zed/Cargo.toml b/crates/zed/Cargo.toml
index 6a2422f87ca..4ae59fe4295 100644
--- a/crates/zed/Cargo.toml
+++ b/crates/zed/Cargo.toml
@@ -82,7 +82,7 @@ libc = "0.2"
log = { version = "0.4.16", features = ["kv_unstable_serde"] }
num_cpus = "1.13.0"
parking_lot = "0.11.1"
-postage = { version = "0.4.1", features = ["futures-traits"] }
+postage = { workspace = true }
rand = "0.8.3"
regex = "1.5"
rsa = "0.4"