diff --git a/Cargo.lock b/Cargo.lock index 0cf47febc3..f3b57fcae4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,5 +1,7 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. +version = 3 + [[package]] name = "ahash" version = "0.4.7" @@ -159,6 +161,15 @@ dependencies = [ "proc-macro-hack", ] +[[package]] +name = "indoc" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7906a9fababaeacb774f72410e497a1d18de916322e33797bb2cd29baa23c9e" +dependencies = [ + "unindent", +] + [[package]] name = "indoc-impl" version = "0.3.6" @@ -306,9 +317,15 @@ dependencies = [ "ndarray", "num-complex", "num-traits", - "pyo3", + "pyo3 0.12.4", ] +[[package]] +name = "once_cell" +version = "1.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87f3e037eac156d1775da914196f0f37741a274155e34a0b7e427c35d2a2ecb9" + [[package]] name = "parking_lot" version = "0.11.1" @@ -391,8 +408,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bf6bbbe8f70d179260b3728e5d04eb012f4f0c7988e58c11433dd689cecaa72e" dependencies = [ "ctor", - "hashbrown", - "indoc", + "indoc 0.3.6", "inventory", "libc", "parking_lot", @@ -401,6 +417,32 @@ dependencies = [ "unindent", ] +[[package]] +name = "pyo3" +version = "0.16.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a378727d5fdcaafd15b5afe9842cff1c25fdc43f62a162ffda2263c57ad98703" +dependencies = [ + "cfg-if 1.0.0", + "hashbrown", + "indoc 1.0.4", + "libc", + "parking_lot", + "pyo3-build-config", + "pyo3-ffi", + "pyo3-macros", + "unindent", +] + +[[package]] +name = "pyo3-build-config" +version = "0.16.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4fbb27a3e96edd34c13d97d0feefccc90a79270c577c66e19d95af8323823dfc" +dependencies = [ + "once_cell", +] + [[package]] name = "pyo3-derive-backend" version = "0.12.4" @@ -412,6 +454,40 @@ dependencies = [ "syn", ] +[[package]] +name = "pyo3-ffi" +version = "0.16.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b719fff844bcf3f911132112ec06527eb195f6a98e0c42cf97e1118929fd4ea" +dependencies = [ + "libc", + "pyo3-build-config", +] + +[[package]] +name = "pyo3-macros" +version = "0.16.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f795e52d3320abb349ca28b501a7112154a87f353fae1c811deecd58e99cfa9b" +dependencies = [ + "proc-macro2", + "pyo3-macros-backend", + "quote", + "syn", +] + +[[package]] +name = "pyo3-macros-backend" +version = "0.16.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "39e03aa57a3bb7b96982958088df38302a139df4eef54671bc595f26556cb75b" +dependencies = [ + "proc-macro2", + "pyo3-build-config", + "quote", + "syn", +] + [[package]] name = "pyo3cls" version = "0.12.4" @@ -527,7 +603,7 @@ dependencies = [ "ndarray", "numpy", "petgraph", - "pyo3", + "pyo3 0.16.2", "rand", "rand_pcg", "rayon", @@ -564,9 +640,9 @@ checksum = "f7fe0bb3479651439c9112f72b6c505038574c9fbb575ed1bf3b797fa39dd564" [[package]] name = "unindent" -version = "0.1.7" +version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f14ee04d9415b52b3aeab06258a3f07093182b88ba0f9b8d203f211a7a7d41c7" +checksum = "514672a55d7380da379785a4d70ca8386c8883ff7eaae877be4d2081cebe73d8" [[package]] name = "wasi" diff --git a/Cargo.toml b/Cargo.toml index 6fa1831bc2..0541e5b03b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,7 +25,7 @@ rand_pcg = "0.3" rayon = "1.5" [dependencies.pyo3] -version = "0.12.3" +version = "0.16.2" features = ["extension-module", "hashbrown"] [dependencies.hashbrown]