From cbeb6e692dd5b2e53bc1ef8d8673bf2102e52335 Mon Sep 17 00:00:00 2001 From: Max Brunsfeld Date: Mon, 20 Mar 2023 17:17:09 -0700 Subject: [PATCH] Move postage crate version specification to workspace Cargo.toml --- Cargo.toml | 1 + crates/call/Cargo.toml | 2 +- crates/client/Cargo.toml | 2 +- crates/collab_ui/Cargo.toml | 2 +- crates/diagnostics/Cargo.toml | 2 +- crates/editor/Cargo.toml | 2 +- crates/feedback/Cargo.toml | 2 +- crates/file_finder/Cargo.toml | 2 +- crates/go_to_line/Cargo.toml | 2 +- crates/gpui/Cargo.toml | 2 +- crates/language/Cargo.toml | 2 +- crates/live_kit_client/Cargo.toml | 2 +- crates/lsp/Cargo.toml | 2 +- crates/outline/Cargo.toml | 2 +- crates/project/Cargo.toml | 2 +- crates/project_panel/Cargo.toml | 2 +- crates/project_symbols/Cargo.toml | 2 +- crates/recent_projects/Cargo.toml | 2 +- crates/search/Cargo.toml | 2 +- crates/settings/Cargo.toml | 2 +- crates/text/Cargo.toml | 2 +- crates/theme_selector/Cargo.toml | 3 +-- crates/workspace/Cargo.toml | 2 +- crates/zed/Cargo.toml | 2 +- 24 files changed, 24 insertions(+), 24 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index fd713d4242..9f795992d5 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 54546adb55..4e738c0651 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 6ff66b8ecc..cb6f29a42e 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 9b5ca9c1ea..516a1b4fe4 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 ebb57e0636..e28a378a67 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 6c52ec70e9..44d0936808 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 51f070dd1d..1c0d0e93ea 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 1d1a4dfb1b..a1a3dbf71a 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 def6361dc2..54567b2440 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 65d36753e7..bd994b5407 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 26e2d8c53b..ac4badbe2a 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 55645732b8..71a6235b95 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 f37b1c9a45..aa1f49977c 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 661c84c8cd..552cf54892 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 be100b2e87..2f73daa338 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 cc27f40954..d245700d58 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 e9283b14c9..9e79b09d72 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 037c6fd4fb..e8d851fa08 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 85215c15b2..e8c03a1a5e 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 1711bb335b..566fcfe355 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 5fda4b613c..362a060c1f 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 80ff311069..2c922200b2 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 06b20684c6..9a6813f627 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 6a2422f87c..4ae59fe429 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"