diff --git a/Cargo.lock b/Cargo.lock index 0cf47febc3..4048d78c8d 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.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c00e5e97bb258ac0fcea67da5e845aae5f7e6fb4f723ec94a503a6d0a541ccb7" +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.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f61cb87bf5c9503fa0e7f38bcd311b31993328a5e29f3507dfbf763c8ccd37f4" +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.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5dd4b0b76ae07ca5a7b0527a75afc9f47744d14f4f3576bdf66a9a2420b5c54d" +dependencies = [ + "libc", + "pyo3-build-config", +] + +[[package]] +name = "pyo3-macros" +version = "0.16.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a845f73eda2aa27d35b3840e2c6f0c9447347cdb49954552f09ae7b1f432a3d9" +dependencies = [ + "proc-macro2", + "pyo3-macros-backend", + "quote", + "syn", +] + +[[package]] +name = "pyo3-macros-backend" +version = "0.16.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e72ef79ca96c2dcb66d9b22f149400ac6c6b32ab468398ebbcb145d72f80c00" +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.1", "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..dccee8736d 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.1" features = ["extension-module", "hashbrown"] [dependencies.hashbrown]