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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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