From ded85998e535989daea2f090bcd6107fcf9f0559 Mon Sep 17 00:00:00 2001 From: Valerii Reutov Date: Thu, 22 Aug 2024 10:26:08 +0300 Subject: [PATCH] fix: the petgraph version was reverted (#1965) Co-authored-by: Thibault Martinez --- Cargo.lock | 14 ++++++------- external-crates/move/Cargo.lock | 36 ++++++++++++++++++++++++--------- external-crates/move/Cargo.toml | 2 +- 3 files changed, 34 insertions(+), 18 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 70bc5dd23f4..afc2d7ee4c7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -8371,7 +8371,7 @@ dependencies = [ "anyhow", "move-binary-format", "move-core-types", - "petgraph 0.6.5", + "petgraph 0.5.1", "serde", "serde-reflection", "serde_yaml", @@ -8386,7 +8386,7 @@ dependencies = [ "move-borrow-graph", "move-core-types", "move-vm-config", - "petgraph 0.6.5", + "petgraph 0.5.1", ] [[package]] @@ -8398,7 +8398,7 @@ dependencies = [ "move-borrow-graph", "move-core-types", "move-vm-config", - "petgraph 0.6.5", + "petgraph 0.5.1", ] [[package]] @@ -8491,7 +8491,7 @@ dependencies = [ "move-symbol-pool", "once_cell", "pathdiff", - "petgraph 0.6.5", + "petgraph 0.5.1", "regex", "serde", "similar", @@ -8538,7 +8538,7 @@ dependencies = [ "move-command-line-common", "move-core-types", "move-ir-types", - "petgraph 0.6.5", + "petgraph 0.5.1", "serde", ] @@ -8686,7 +8686,7 @@ dependencies = [ "move-symbol-pool", "named-lock", "once_cell", - "petgraph 0.6.5", + "petgraph 0.5.1", "regex", "serde", "serde_yaml", @@ -8744,7 +8744,7 @@ dependencies = [ "move-core-types", "move-model", "num", - "petgraph 0.6.5", + "petgraph 0.5.1", "serde", ] diff --git a/external-crates/move/Cargo.lock b/external-crates/move/Cargo.lock index 7f70ba7c548..6b033aee099 100644 --- a/external-crates/move/Cargo.lock +++ b/external-crates/move/Cargo.lock @@ -912,9 +912,9 @@ dependencies = [ [[package]] name = "fixedbitset" -version = "0.4.2" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" +checksum = "37ab347416e802de484e4d03c7316c48f1ecb56574dfd4a46a80f173ce1de04d" [[package]] name = "fnv" @@ -972,6 +972,12 @@ version = "1.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1b43ede17f21864e81be2fa654110bf1e793774238d86ef8555c37e6519c0403" +[[package]] +name = "hashbrown" +version = "0.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" + [[package]] name = "hashbrown" version = "0.14.5" @@ -1080,6 +1086,16 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "indexmap" +version = "1.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" +dependencies = [ + "autocfg", + "hashbrown 0.12.3", +] + [[package]] name = "indexmap" version = "2.4.0" @@ -1087,7 +1103,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "93ead53efc7ea8ed3cfb0c79fc8023fbb782a5432b52830b6518941cebe6505c" dependencies = [ "equivalent", - "hashbrown", + "hashbrown 0.14.5", ] [[package]] @@ -1291,7 +1307,7 @@ version = "0.12.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "37ee39891760e7d94734f6f63fedc29a2e4a152f836120753a72503f09fcf904" dependencies = [ - "hashbrown", + "hashbrown 0.14.5", ] [[package]] @@ -2419,12 +2435,12 @@ checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" [[package]] name = "petgraph" -version = "0.6.5" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4c5cc86750666a3ed20bdaf5ca2a0344f9c67674cae0515bec2da16fbaa47db" +checksum = "467d164a6de56270bd7c4d070df81d07beace25012d5103ced4e9ff08d6afdb7" dependencies = [ "fixedbitset", - "indexmap", + "indexmap 1.9.3", ] [[package]] @@ -2981,7 +2997,7 @@ version = "0.9.34+deprecated" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a8b1a1a2ebf674015cc02edccce75287f1a0130d394307b36743c2f5d504b47" dependencies = [ - "indexmap", + "indexmap 2.4.0", "itoa", "ryu", "serde", @@ -3421,7 +3437,7 @@ version = "0.21.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a8534fd7f78b5405e860340ad6575217ce99f38d4d5c8f2442cb5ecb50090e1" dependencies = [ - "indexmap", + "indexmap 2.4.0", "toml_datetime", "winnow 0.5.40", ] @@ -3432,7 +3448,7 @@ version = "0.22.20" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "583c44c02ad26b0c3f3066fe629275e50627026c51ac2e595cca4c230ce1ce1d" dependencies = [ - "indexmap", + "indexmap 2.4.0", "serde", "serde_spanned", "toml_datetime", diff --git a/external-crates/move/Cargo.toml b/external-crates/move/Cargo.toml index da3ae9a2fa3..4da48bafb5b 100644 --- a/external-crates/move/Cargo.toml +++ b/external-crates/move/Cargo.toml @@ -33,7 +33,7 @@ log = { version = "0.4", features = ["serde"] } num = "0.4" once_cell = "1.19" parking_lot = "0.12" -petgraph = "0.6" +petgraph = "0.5.1" proptest = "1.5" proptest-derive = "0.5" rand = "0.8"