diff --git a/Cargo.lock b/Cargo.lock index 0cf47febc3..d3a34d9e1c 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,33 @@ dependencies = [ "unindent", ] +[[package]] +name = "pyo3" +version = "0.16.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b3e99c4c3e790e4fc365b42b70c1f7801f42eadc4ea648fa327e6f5ca29f215" +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.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2486b96281859ff0a3929ba6467b13751627b974f7137362db38e2bed14b2094" +dependencies = [ + "once_cell", + "target-lexicon", +] + [[package]] name = "pyo3-derive-backend" version = "0.12.4" @@ -412,6 +455,39 @@ dependencies = [ "syn", ] +[[package]] +name = "pyo3-ffi" +version = "0.16.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd9de1d94557751599f8bd321f10e6c1ef2801067acb58c91138deef2ae83a17" +dependencies = [ + "libc", + "pyo3-build-config", +] + +[[package]] +name = "pyo3-macros" +version = "0.16.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b9584049129b1cfb615243391a6345c726690271ae195ffd6aa3766177296aa" +dependencies = [ + "proc-macro2", + "pyo3-macros-backend", + "quote", + "syn", +] + +[[package]] +name = "pyo3-macros-backend" +version = "0.16.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6c4717e6a55c51a9958eda1f5481ff7f62cccd21f45309c10e4731cb7198dbc" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "pyo3cls" version = "0.12.4" @@ -527,7 +603,7 @@ dependencies = [ "ndarray", "numpy", "petgraph", - "pyo3", + "pyo3 0.16.3", "rand", "rand_pcg", "rayon", @@ -556,6 +632,12 @@ dependencies = [ "unicode-xid", ] +[[package]] +name = "target-lexicon" +version = "0.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d7fa7e55043acb85fca6b3c01485a2eeb6b69c5d21002e273c79e465f43b7ac1" + [[package]] name = "unicode-xid" version = "0.2.1" @@ -564,9 +646,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..d5cdba7990 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.3" features = ["extension-module", "hashbrown"] [dependencies.hashbrown]