diff --git a/Cargo.lock b/Cargo.lock index 3cf5ac480bfa..fe2a1682fa40 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -13,6 +13,17 @@ dependencies = [ "version_check", ] +[[package]] +name = "ahash" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf6ccdb167abbf410dcb915cabd428929d7f6a04980b54a11f26a39f1c7f7107" +dependencies = [ + "cfg-if 1.0.0", + "once_cell", + "version_check", +] + [[package]] name = "autocfg" version = "1.1.0" @@ -104,7 +115,16 @@ version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e" dependencies = [ - "ahash", + "ahash 0.7.6", +] + +[[package]] +name = "hashbrown" +version = "0.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" +dependencies = [ + "ahash 0.8.2", "rayon", ] @@ -263,9 +283,9 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.9.0" +version = "1.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da32515d9f6e6e489d7bc9d84c71b060db7247dc035bbe44eac88cf87486d8d5" +checksum = "6f61fba1741ea2b3d6a1e3178721804bb716a68a6aeba1149b5d52e3d464ea66" [[package]] name = "parking_lot" @@ -339,7 +359,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7cf01dbf1c05af0a14c7779ed6f3aa9deac9c3419606ac9de537a2d649005720" dependencies = [ "cfg-if 1.0.0", - "hashbrown", + "hashbrown 0.11.2", "indoc", "libc", "parking_lot", @@ -385,7 +405,7 @@ dependencies = [ name = "qiskit-terra" version = "0.20.0" dependencies = [ - "hashbrown", + "hashbrown 0.13.2", "ndarray", "numpy", "pyo3", diff --git a/Cargo.toml b/Cargo.toml index 1c88d5bceb28..07c24d76b152 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,7 +25,7 @@ version = "^0.15.0" features = ["rayon"] [dependencies.hashbrown] -version = "0.11.2" +version = "0.13.2" features = ["rayon"] [profile.release]