Bump itertools

This commit is contained in:
Laurențiu Nicola 2023-11-15 12:53:56 +02:00
parent dfc885e0fd
commit f66df10f87
18 changed files with 44 additions and 34 deletions

41
Cargo.lock generated
View file

@ -215,7 +215,7 @@ dependencies = [
"chalk-ir",
"ena",
"indexmap 1.9.3",
"itertools",
"itertools 0.10.5",
"petgraph",
"rustc-hash",
"tracing",
@ -497,7 +497,7 @@ dependencies = [
"hir-def",
"hir-expand",
"hir-ty",
"itertools",
"itertools 0.12.0",
"once_cell",
"profile",
"rustc-hash",
@ -526,7 +526,7 @@ dependencies = [
"hir-expand",
"indexmap 2.0.0",
"intern",
"itertools",
"itertools 0.12.0",
"la-arena 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
"limit",
"mbe",
@ -554,7 +554,7 @@ dependencies = [
"expect-test",
"hashbrown 0.12.3",
"intern",
"itertools",
"itertools 0.12.0",
"la-arena 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
"limit",
"mbe",
@ -586,7 +586,7 @@ dependencies = [
"hir-def",
"hir-expand",
"intern",
"itertools",
"itertools 0.12.0",
"la-arena 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
"limit",
"nohash-hasher",
@ -633,7 +633,7 @@ dependencies = [
"ide-db",
"ide-diagnostics",
"ide-ssr",
"itertools",
"itertools 0.12.0",
"nohash-hasher",
"oorandom",
"profile",
@ -659,7 +659,7 @@ dependencies = [
"expect-test",
"hir",
"ide-db",
"itertools",
"itertools 0.12.0",
"profile",
"smallvec",
"sourcegen",
@ -678,7 +678,7 @@ dependencies = [
"expect-test",
"hir",
"ide-db",
"itertools",
"itertools 0.12.0",
"once_cell",
"profile",
"smallvec",
@ -700,7 +700,7 @@ dependencies = [
"fst",
"hir",
"indexmap 2.0.0",
"itertools",
"itertools 0.12.0",
"limit",
"line-index 0.1.0-pre.1",
"memchr",
@ -731,7 +731,7 @@ dependencies = [
"expect-test",
"hir",
"ide-db",
"itertools",
"itertools 0.12.0",
"once_cell",
"profile",
"serde_json",
@ -750,7 +750,7 @@ dependencies = [
"expect-test",
"hir",
"ide-db",
"itertools",
"itertools 0.12.0",
"nohash-hasher",
"parser",
"stdx",
@ -838,6 +838,15 @@ dependencies = [
"either",
]
[[package]]
name = "itertools"
version = "0.12.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "25db6b064527c5d482d0423354fcd07a89a2dfe07b67892e62411946db7f07b0"
dependencies = [
"either",
]
[[package]]
name = "itoa"
version = "1.0.6"
@ -942,7 +951,7 @@ dependencies = [
"crossbeam-channel",
"ide",
"ide-db",
"itertools",
"itertools 0.12.0",
"proc-macro-api",
"project-model",
"tracing",
@ -1389,7 +1398,7 @@ dependencies = [
"cargo_metadata",
"cfg",
"expect-test",
"itertools",
"itertools 0.12.0",
"la-arena 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
"paths",
"profile",
@ -1583,7 +1592,7 @@ dependencies = [
"ide",
"ide-db",
"ide-ssr",
"itertools",
"itertools 0.12.0",
"load-cargo",
"lsp-server 0.7.4 (registry+https://github.com/rust-lang/crates.io-index)",
"lsp-types",
@ -1860,7 +1869,7 @@ dependencies = [
"either",
"expect-test",
"indexmap 2.0.0",
"itertools",
"itertools 0.12.0",
"once_cell",
"parser",
"proc-macro2",
@ -1894,7 +1903,7 @@ dependencies = [
name = "text-edit"
version = "0.0.0"
dependencies = [
"itertools",
"itertools 0.12.0",
"text-size",
]

View file

@ -91,6 +91,7 @@ lsp-server = { version = "0.7.4" }
# non-local crates
anyhow = "1.0.75"
itertools = "0.12.0"
smallvec = { version = "1.10.0", features = [
"const_new",
"union",

View file

@ -21,7 +21,7 @@ drop_bomb = "0.1.5"
either = "1.7.0"
fst = { version = "0.4.7", default-features = false }
indexmap = "2.0.0"
itertools = "0.10.5"
itertools.workspace = true
la-arena.workspace = true
once_cell = "1.17.0"
rustc-hash = "1.1.0"

View file

@ -17,7 +17,7 @@ tracing = "0.1.35"
either = "1.7.0"
rustc-hash = "1.1.0"
la-arena.workspace = true
itertools = "0.10.5"
itertools.workspace = true
hashbrown.workspace = true
smallvec.workspace = true
triomphe.workspace = true

View file

@ -13,7 +13,7 @@ doctest = false
[dependencies]
cov-mark = "2.0.0-pre.1"
itertools = "0.10.5"
itertools.workspace = true
arrayvec = "0.7.2"
bitflags = "2.1.0"
smallvec.workspace = true

View file

@ -15,7 +15,7 @@ doctest = false
rustc-hash = "1.1.0"
either = "1.7.0"
arrayvec = "0.7.2"
itertools = "0.10.5"
itertools.workspace = true
smallvec.workspace = true
triomphe.workspace = true
once_cell = "1.17.1"

View file

@ -14,7 +14,7 @@ doctest = false
[dependencies]
cov-mark = "2.0.0-pre.1"
itertools = "0.10.5"
itertools.workspace = true
either = "1.7.0"
smallvec.workspace = true

View file

@ -13,7 +13,7 @@ doctest = false
[dependencies]
cov-mark = "2.0.0-pre.1"
itertools = "0.10.5"
itertools.workspace = true
once_cell = "1.17.0"
smallvec.workspace = true

View file

@ -19,7 +19,7 @@ fst = { version = "0.4.7", default-features = false }
rustc-hash = "1.1.0"
once_cell = "1.17.0"
either = "1.7.0"
itertools = "0.10.5"
itertools.workspace = true
arrayvec = "0.7.2"
indexmap = "2.0.0"
memchr = "2.5.0"

View file

@ -140,10 +140,10 @@ impl SnippetEdit {
.with_position()
.map(|pos| {
let (snippet, index) = match pos {
itertools::Position::First(it) | itertools::Position::Middle(it) => it,
(itertools::Position::First, it) | (itertools::Position::Middle, it) => it,
// last/only snippet gets index 0
itertools::Position::Last((snippet, _))
| itertools::Position::Only((snippet, _)) => (snippet, 0),
(itertools::Position::Last, (snippet, _))
| (itertools::Position::Only, (snippet, _)) => (snippet, 0),
};
let range = match snippet {

View file

@ -14,7 +14,7 @@ doctest = false
[dependencies]
cov-mark = "2.0.0-pre.1"
either = "1.7.0"
itertools = "0.10.5"
itertools.workspace = true
serde_json = "1.0.86"
once_cell = "1.17.0"

View file

@ -14,7 +14,7 @@ doctest = false
[dependencies]
cov-mark = "2.0.0-pre.1"
itertools = "0.10.5"
itertools.workspace = true
triomphe.workspace = true
nohash-hasher.workspace = true

View file

@ -15,7 +15,7 @@ doctest = false
cov-mark = "2.0.0-pre.1"
crossbeam-channel = "0.5.5"
either = "1.7.0"
itertools = "0.10.5"
itertools.workspace = true
tracing = "0.1.35"
oorandom = "11.1.3"
pulldown-cmark-to-cmark = "10.0.4"

View file

@ -13,7 +13,7 @@ authors.workspace = true
[dependencies]
anyhow.workspace = true
crossbeam-channel = "0.5.5"
itertools = "0.10.5"
itertools.workspace = true
tracing = "0.1.35"
ide.workspace = true

View file

@ -21,7 +21,7 @@ serde_json.workspace = true
serde.workspace = true
triomphe.workspace = true
la-arena.workspace = true
itertools = "0.10.5"
itertools.workspace = true
# local deps
base-db.workspace = true

View file

@ -22,7 +22,7 @@ path = "src/bin/main.rs"
anyhow.workspace = true
crossbeam-channel = "0.5.5"
dissimilar = "1.0.4"
itertools = "0.10.5"
itertools.workspace = true
scip = "0.3.1"
lsp-types = { version = "=0.94.0", features = ["proposed"] }
parking_lot = "0.12.1"

View file

@ -15,7 +15,7 @@ doctest = false
[dependencies]
cov-mark = "2.0.0-pre.1"
either = "1.7.0"
itertools = "0.10.5"
itertools.workspace = true
rowan = "0.15.11"
rustc-hash = "1.1.0"
once_cell = "1.17.0"

View file

@ -12,5 +12,5 @@ rust-version.workspace = true
doctest = false
[dependencies]
itertools = "0.10.5"
itertools.workspace = true
text-size.workspace = true