diff --git a/Cargo.lock b/Cargo.lock index b5769917dbdfe..4ec8ac0e01c2f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -261,9 +261,9 @@ dependencies = [ [[package]] name = "codspeed" -version = "2.10.0" +version = "2.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d228291b19e82cdef59c17e595c45d482e12c4ddcc9546d2f1cbd1ef28b72af5" +checksum = "93f4cce9c27c49c4f101fffeebb1826f41a9df2e7498b7cd4d95c0658b796c6c" dependencies = [ "colored 2.2.0", "libc", @@ -705,6 +705,12 @@ version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" +[[package]] +name = "foldhash" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2" + [[package]] name = "form_urlencoded" version = "1.2.1" @@ -898,6 +904,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289" dependencies = [ "allocator-api2", + "equivalent", + "foldhash", ] [[package]] @@ -2367,12 +2375,14 @@ dependencies = [ [[package]] name = "petgraph" -version = "0.7.1" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3672b37090dbd86368a4145bc067582552b29c27377cad4e0a306c97f9bd7772" +checksum = "7a98c6720655620a521dcc722d0ad66cd8afd5d86e34a89ef691c50b7b24de06" dependencies = [ "fixedbitset", + "hashbrown 0.15.2", "indexmap", + "serde", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index da78bd2995ded..604b3c4cd31f1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -202,7 +202,7 @@ nonmax = "0.5.5" num-bigint = "0.4.6" num-traits = "0.2.19" papaya = "0.2.1" -petgraph = { version = "0.7.1", default-features = false } +petgraph = { version = "0.8.0", default-features = false } phf = "0.11.3" pico-args = "0.5.0" prettyplease = "0.2.32" diff --git a/crates/oxc_cfg/Cargo.toml b/crates/oxc_cfg/Cargo.toml index 018ca21ad83e2..fcec62b881de8 100644 --- a/crates/oxc_cfg/Cargo.toml +++ b/crates/oxc_cfg/Cargo.toml @@ -27,5 +27,5 @@ oxc_syntax = { workspace = true } bitflags = { workspace = true } itertools = { workspace = true } nonmax = { workspace = true } -petgraph = { workspace = true, default-features = false, features = ["stable_graph"] } +petgraph = { workspace = true, default-features = false, features = ["std", "stable_graph"] } rustc-hash = { workspace = true }