Hoist `itertools` dependency to workspace level (#8417)

Marshall Bowers created

This PR hoists the `itertools` dependency to the workspace level.

Release Notes:

- N/A

Change summary

Cargo.lock                      | 16 ++++++++--------
Cargo.toml                      |  3 ++-
crates/breadcrumbs/Cargo.toml   |  2 +-
crates/color/Cargo.toml         |  2 +-
crates/editor/Cargo.toml        |  2 +-
crates/gpui/Cargo.toml          |  2 +-
crates/multi_buffer/Cargo.toml  |  2 +-
crates/project/Cargo.toml       |  2 +-
crates/terminal/Cargo.toml      |  2 +-
crates/terminal_view/Cargo.toml |  2 +-
crates/theme/Cargo.toml         |  2 +-
crates/ui/Cargo.toml            |  2 +-
crates/workspace/Cargo.toml     |  2 +-
crates/zed/Cargo.toml           |  2 +-
14 files changed, 22 insertions(+), 21 deletions(-)

Detailed changes

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",

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"] }

crates/breadcrumbs/Cargo.toml 🔗

@@ -13,7 +13,7 @@ doctest = false
 collections.workspace = true
 editor.workspace = true
 gpui.workspace = true
-itertools = "0.10"
+itertools.workspace = true
 language.workspace = true
 outline.workspace = true
 project.workspace = true

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 }

crates/editor/Cargo.toml 🔗

@@ -37,7 +37,7 @@ fuzzy.workspace = true
 git.workspace = true
 gpui.workspace = true
 indoc = "1.0.4"
-itertools = "0.10"
+itertools.workspace = true
 language.workspace = true
 lazy_static.workspace = true
 linkify.workspace = true

crates/gpui/Cargo.toml 🔗

@@ -41,7 +41,7 @@ futures.workspace = true
 font-kit = { git = "https://github.com/zed-industries/font-kit", rev = "5a5c4d4" }
 gpui_macros.workspace = true
 image = "0.23"
-itertools = "0.10"
+itertools.workspace = true
 lazy_static.workspace = true
 linkme = "0.3"
 log.workspace = true

crates/multi_buffer/Cargo.toml 🔗

@@ -31,7 +31,7 @@ futures.workspace = true
 git.workspace = true
 gpui.workspace = true
 indoc = "1.0.4"
-itertools = "0.10"
+itertools.workspace = true
 language.workspace = true
 lazy_static.workspace = true
 log.workspace = true

crates/project/Cargo.toml 🔗

@@ -36,7 +36,7 @@ git.workspace = true
 globset.workspace = true
 gpui.workspace = true
 ignore = "0.4"
-itertools = "0.10"
+itertools.workspace = true
 language.workspace = true
 log.workspace = true
 lsp.workspace = true

crates/terminal/Cargo.toml 🔗

@@ -18,7 +18,7 @@ db.workspace = true
 dirs = "4.0.0"
 futures.workspace = true
 gpui.workspace = true
-itertools = "0.10"
+itertools.workspace = true
 lazy_static.workspace = true
 libc = "0.2"
 mio-extras = "2.0.6"

crates/terminal_view/Cargo.toml 🔗

@@ -17,7 +17,7 @@ dirs = "4.0.0"
 editor.workspace = true
 futures.workspace = true
 gpui.workspace = true
-itertools = "0.10"
+itertools.workspace = true
 language.workspace = true
 lazy_static.workspace = true
 libc = "0.2"

crates/theme/Cargo.toml 🔗

@@ -23,7 +23,7 @@ fs.workspace = true
 futures.workspace = true
 gpui.workspace = true
 indexmap = { 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 = true
 refineable.workspace = true

crates/ui/Cargo.toml 🔗

@@ -13,7 +13,7 @@ path = "src/ui.rs"
 anyhow.workspace = true
 chrono.workspace = true
 gpui.workspace = true
-itertools = { version = "0.11.0", optional = true }
+itertools = { workspace = true, optional = true }
 menu.workspace = true
 rand = "0.8"
 serde.workspace = true

crates/workspace/Cargo.toml 🔗

@@ -32,7 +32,7 @@ derive_more.workspace = true
 fs.workspace = true
 futures.workspace = true
 gpui.workspace = true
-itertools = "0.10"
+itertools.workspace = true
 language.workspace = true
 lazy_static.workspace = true
 log.workspace = true

crates/zed/Cargo.toml 🔗

@@ -60,7 +60,7 @@ image = "0.23"
 indexmap = "1.6.2"
 install_cli.workspace = true
 isahc.workspace = true
-itertools = "0.11"
+itertools.workspace = true
 journal.workspace = true
 language.workspace = true
 language_selector.workspace = true