Unnamed repository; edit this file 'description' to name the repository.
Upgrade to indexmap v2
Josh Stone 2023-06-25
parent 6ba2590 · commit 380773b
-rw-r--r--Cargo.lock50
-rw-r--r--crates/hir-def/Cargo.toml2
-rw-r--r--crates/ide-db/Cargo.toml2
-rw-r--r--crates/syntax/Cargo.toml2
-rw-r--r--crates/vfs/Cargo.toml2
5 files changed, 40 insertions, 18 deletions
diff --git a/Cargo.lock b/Cargo.lock
index d7bd830884..d5a31e1e26 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -220,7 +220,7 @@ dependencies = [
"chalk-derive",
"chalk-ir",
"ena",
- "indexmap",
+ "indexmap 1.9.3",
"itertools",
"petgraph",
"rustc-hash",
@@ -313,7 +313,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "907076dfda823b0b36d2a1bb5f90c96660a5bbcd7729e10727f07858f22c4edc"
dependencies = [
"cfg-if",
- "hashbrown",
+ "hashbrown 0.12.3",
"lock_api",
"once_cell",
"parking_lot_core 0.9.6",
@@ -364,6 +364,12 @@ dependencies = [
]
[[package]]
+name = "equivalent"
+version = "1.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "88bffebc5d80432c9b140ee17875ff173a8ab62faad5b257da912bd2f6c1c0a1"
+
+[[package]]
name = "expect-test"
version = "1.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -454,6 +460,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888"
[[package]]
+name = "hashbrown"
+version = "0.14.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2c6201b9ff9fd90a5a3bac2e56a830d0caa509576f0e503818ee82c181b3437a"
+
+[[package]]
name = "heck"
version = "0.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -517,11 +529,11 @@ dependencies = [
"either",
"expect-test",
"fst",
- "hashbrown",
+ "hashbrown 0.12.3",
"hir-expand",
"hkalbasi-rustc-ap-rustc_abi",
"hkalbasi-rustc-ap-rustc_index",
- "indexmap",
+ "indexmap 2.0.0",
"intern",
"itertools",
"la-arena 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -548,7 +560,7 @@ dependencies = [
"cov-mark",
"either",
"expect-test",
- "hashbrown",
+ "hashbrown 0.12.3",
"intern",
"itertools",
"la-arena 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -715,7 +727,7 @@ dependencies = [
"expect-test",
"fst",
"hir",
- "indexmap",
+ "indexmap 2.0.0",
"itertools",
"limit",
"line-index 0.1.0-pre.1 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -792,7 +804,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99"
dependencies = [
"autocfg",
- "hashbrown",
+ "hashbrown 0.12.3",
+]
+
+[[package]]
+name = "indexmap"
+version = "2.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d5477fe2230a79769d8dc68e0eabf5437907c0457a5614a9e8dddb67f65eb65d"
+dependencies = [
+ "equivalent",
+ "hashbrown 0.14.0",
]
[[package]]
@@ -829,7 +851,7 @@ name = "intern"
version = "0.0.0"
dependencies = [
"dashmap",
- "hashbrown",
+ "hashbrown 0.12.3",
"once_cell",
"rustc-hash",
"triomphe",
@@ -1282,7 +1304,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "467d164a6de56270bd7c4d070df81d07beace25012d5103ced4e9ff08d6afdb7"
dependencies = [
"fixedbitset",
- "indexmap",
+ "indexmap 1.9.3",
]
[[package]]
@@ -1488,7 +1510,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "64449cfef9483a475ed56ae30e2da5ee96448789fb2aa240a04beb6a055078bf"
dependencies = [
"countme",
- "hashbrown",
+ "hashbrown 0.12.3",
"memoffset 0.8.0",
"rustc-hash",
"text-size",
@@ -1575,7 +1597,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9b223dccb46c32753144d0b51290da7230bb4aedcd8379d6b4c9a474c18bf17a"
dependencies = [
"crossbeam-utils",
- "indexmap",
+ "indexmap 1.9.3",
"lock_api",
"log",
"oorandom",
@@ -1662,7 +1684,7 @@ version = "1.0.97"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bdf3bf93142acad5821c99197022e170842cdbc1c30482b98750c688c640842a"
dependencies = [
- "indexmap",
+ "indexmap 1.9.3",
"itoa",
"ryu",
"serde",
@@ -1776,7 +1798,7 @@ dependencies = [
"cov-mark",
"either",
"expect-test",
- "indexmap",
+ "indexmap 2.0.0",
"itertools",
"once_cell",
"parser",
@@ -2127,7 +2149,7 @@ name = "vfs"
version = "0.0.0"
dependencies = [
"fst",
- "indexmap",
+ "indexmap 2.0.0",
"nohash-hasher",
"paths",
"rustc-hash",
diff --git a/crates/hir-def/Cargo.toml b/crates/hir-def/Cargo.toml
index 0650a81f9c..30307deb79 100644
--- a/crates/hir-def/Cargo.toml
+++ b/crates/hir-def/Cargo.toml
@@ -21,7 +21,7 @@ dashmap = { version = "=5.4.0", features = ["raw-api"] }
drop_bomb = "0.1.5"
either = "1.7.0"
fst = { version = "0.4.7", default-features = false }
-indexmap = "1.9.1"
+indexmap = "2.0.0"
itertools = "0.10.5"
la-arena.workspace = true
once_cell = "1.17.0"
diff --git a/crates/ide-db/Cargo.toml b/crates/ide-db/Cargo.toml
index 4e75dc4dba..faec742068 100644
--- a/crates/ide-db/Cargo.toml
+++ b/crates/ide-db/Cargo.toml
@@ -21,7 +21,7 @@ once_cell = "1.17.0"
either = "1.7.0"
itertools = "0.10.5"
arrayvec = "0.7.2"
-indexmap = "1.9.1"
+indexmap = "2.0.0"
memchr = "2.5.0"
triomphe.workspace = true
nohash-hasher.workspace = true
diff --git a/crates/syntax/Cargo.toml b/crates/syntax/Cargo.toml
index fb38d25ab5..5ee0c47928 100644
--- a/crates/syntax/Cargo.toml
+++ b/crates/syntax/Cargo.toml
@@ -19,7 +19,7 @@ itertools = "0.10.5"
rowan = "0.15.11"
rustc-hash = "1.1.0"
once_cell = "1.17.0"
-indexmap = "1.9.1"
+indexmap = "2.0.0"
smol_str.workspace = true
triomphe.workspace = true
diff --git a/crates/vfs/Cargo.toml b/crates/vfs/Cargo.toml
index 3ae3dc83ca..c35785cf98 100644
--- a/crates/vfs/Cargo.toml
+++ b/crates/vfs/Cargo.toml
@@ -14,7 +14,7 @@ doctest = false
[dependencies]
rustc-hash = "1.1.0"
fst = "0.4.7"
-indexmap = "1.9.1"
+indexmap = "2.0.0"
nohash-hasher.workspace = true
paths.workspace = true