Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Hoist `itertools` dependency to workspace level (#8417)
Marshall Bowersd8276b0f0d5a
diff --git a/Cargo.lock b/Cargo.lockindex 6a9e294f3be..0c7b9f9d61e 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -1517,7 +1517,7 @@ dependencies = ["collections","editor","gpui",- "itertools 0.10.5",+ "itertools 0.11.0","language","outline","project",@@ -3109,7 +3109,7 @@ dependencies = ["git","gpui","indoc",- "itertools 0.10.5",+ "itertools 0.11.0","language","lazy_static","linkify",@@ -4149,7 +4149,7 @@ dependencies = ["futures 0.3.28","gpui_macros","image",- "itertools 0.10.5",+ "itertools 0.11.0","lazy_static","linkme","log",@@ -5725,7 +5725,7 @@ dependencies = ["git","gpui","indoc",- "itertools 0.10.5",+ "itertools 0.11.0","language","lazy_static","log",@@ -6996,7 +6996,7 @@ dependencies = ["globset","gpui","ignore",- "itertools 0.10.5",+ "itertools 0.11.0","language","log","lsp",@@ -9514,7 +9514,7 @@ dependencies = ["dirs 4.0.0","futures 0.3.28","gpui",- "itertools 0.10.5",+ "itertools 0.11.0","lazy_static","libc","mio-extras",@@ -9547,7 +9547,7 @@ dependencies = ["editor","futures 0.3.28","gpui",- "itertools 0.10.5",+ "itertools 0.11.0","language","lazy_static","libc",@@ -11849,7 +11849,7 @@ dependencies = ["fs","futures 0.3.28","gpui",- "itertools 0.10.5",+ "itertools 0.11.0","language","lazy_static","log",diff --git a/Cargo.toml b/Cargo.tomlindex cad3b3c209a..4bc18e02416 100644--- a/Cargo.toml+++ b/Cargo.toml@@ -206,8 +206,9 @@ git2 = { version = "0.15", default-features = false }globset = "0.4"hex = "0.4.3"indoc = "1"-# We explicitly disable a http2 support in isahc.+# We explicitly disable http2 support in isahc.isahc = { version = "1.7.2", default-features = false, features = ["static-curl", "text-decoding"] }+itertools = "0.11.0"lazy_static = "1.4.0"linkify = "0.10.0"log = { version = "0.4.16", features = ["kv_unstable_serde"] }diff --git a/crates/breadcrumbs/Cargo.toml b/crates/breadcrumbs/Cargo.tomlindex 57724663ca8..cef0a2ac0bd 100644--- a/crates/breadcrumbs/Cargo.toml+++ b/crates/breadcrumbs/Cargo.toml@@ -13,7 +13,7 @@ doctest = falsecollections.workspace = trueeditor.workspace = truegpui.workspace = true-itertools = "0.10"+itertools.workspace = truelanguage.workspace = trueoutline.workspace = trueproject.workspace = truediff --git a/crates/color/Cargo.toml b/crates/color/Cargo.tomlindex e8530befdf5..90f1109753f 100644--- a/crates/color/Cargo.toml+++ b/crates/color/Cargo.toml@@ -14,6 +14,6 @@ path = "src/color.rs"doctest = true[dependencies]-itertools = { version = "0.11.0", optional = true }+itertools = { workspace = true, optional = true }palette = "0.7.3"story = { workspace = true, optional = true }diff --git a/crates/editor/Cargo.toml b/crates/editor/Cargo.tomlindex 2e2143567d9..c13d6362ffd 100644--- a/crates/editor/Cargo.toml+++ b/crates/editor/Cargo.toml@@ -37,7 +37,7 @@ fuzzy.workspace = truegit.workspace = truegpui.workspace = trueindoc = "1.0.4"-itertools = "0.10"+itertools.workspace = truelanguage.workspace = truelazy_static.workspace = truelinkify.workspace = truediff --git a/crates/gpui/Cargo.toml b/crates/gpui/Cargo.tomlindex 332fdece6ab..cd0106a8963 100644--- a/crates/gpui/Cargo.toml+++ b/crates/gpui/Cargo.toml@@ -41,7 +41,7 @@ futures.workspace = truefont-kit = { git = "https://github.com/zed-industries/font-kit", rev = "5a5c4d4" }gpui_macros.workspace = trueimage = "0.23"-itertools = "0.10"+itertools.workspace = truelazy_static.workspace = truelinkme = "0.3"log.workspace = truediff --git a/crates/multi_buffer/Cargo.toml b/crates/multi_buffer/Cargo.tomlindex ed3993400a3..b62c73d0b27 100644--- a/crates/multi_buffer/Cargo.toml+++ b/crates/multi_buffer/Cargo.toml@@ -31,7 +31,7 @@ futures.workspace = truegit.workspace = truegpui.workspace = trueindoc = "1.0.4"-itertools = "0.10"+itertools.workspace = truelanguage.workspace = truelazy_static.workspace = truelog.workspace = truediff --git a/crates/project/Cargo.toml b/crates/project/Cargo.tomlindex f02f36903d9..56b4bc5fb40 100644--- a/crates/project/Cargo.toml+++ b/crates/project/Cargo.toml@@ -36,7 +36,7 @@ git.workspace = trueglobset.workspace = truegpui.workspace = trueignore = "0.4"-itertools = "0.10"+itertools.workspace = truelanguage.workspace = truelog.workspace = truelsp.workspace = truediff --git a/crates/terminal/Cargo.toml b/crates/terminal/Cargo.tomlindex 4b95acdbd1c..6218d803447 100644--- a/crates/terminal/Cargo.toml+++ b/crates/terminal/Cargo.toml@@ -18,7 +18,7 @@ db.workspace = truedirs = "4.0.0"futures.workspace = truegpui.workspace = true-itertools = "0.10"+itertools.workspace = truelazy_static.workspace = truelibc = "0.2"mio-extras = "2.0.6"diff --git a/crates/terminal_view/Cargo.toml b/crates/terminal_view/Cargo.tomlindex b5805c577f6..8edbb085cd9 100644--- a/crates/terminal_view/Cargo.toml+++ b/crates/terminal_view/Cargo.toml@@ -17,7 +17,7 @@ dirs = "4.0.0"editor.workspace = truefutures.workspace = truegpui.workspace = true-itertools = "0.10"+itertools.workspace = truelanguage.workspace = truelazy_static.workspace = truelibc = "0.2"diff --git a/crates/theme/Cargo.toml b/crates/theme/Cargo.tomlindex c060627ad61..43be9094dbd 100644--- a/crates/theme/Cargo.toml+++ b/crates/theme/Cargo.toml@@ -23,7 +23,7 @@ fs.workspace = truefutures.workspace = truegpui.workspace = trueindexmap = { version = "1.6.2", features = ["serde"] }-itertools = { version = "0.11.0", optional = true }+itertools = { workspace = true, optional = true }palette = { version = "0.7.3", default-features = false, features = ["std"] }parking_lot.workspace = truerefineable.workspace = truediff --git a/crates/ui/Cargo.toml b/crates/ui/Cargo.tomlindex 10b92744a7f..29ea2d58586 100644--- a/crates/ui/Cargo.toml+++ b/crates/ui/Cargo.toml@@ -13,7 +13,7 @@ path = "src/ui.rs"anyhow.workspace = truechrono.workspace = truegpui.workspace = true-itertools = { version = "0.11.0", optional = true }+itertools = { workspace = true, optional = true }menu.workspace = truerand = "0.8"serde.workspace = truediff --git a/crates/workspace/Cargo.toml b/crates/workspace/Cargo.tomlindex 9182f27bf2c..afc607defb5 100644--- a/crates/workspace/Cargo.toml+++ b/crates/workspace/Cargo.toml@@ -32,7 +32,7 @@ derive_more.workspace = truefs.workspace = truefutures.workspace = truegpui.workspace = true-itertools = "0.10"+itertools.workspace = truelanguage.workspace = truelazy_static.workspace = truelog.workspace = truediff --git a/crates/zed/Cargo.toml b/crates/zed/Cargo.tomlindex 0d04f802034..b23436506bc 100644--- a/crates/zed/Cargo.toml+++ b/crates/zed/Cargo.toml@@ -60,7 +60,7 @@ image = "0.23"indexmap = "1.6.2"install_cli.workspace = trueisahc.workspace = true-itertools = "0.11"+itertools.workspace = truejournal.workspace = truelanguage.workspace = truelanguage_selector.workspace = true