diff --git a/Cargo.lock b/Cargo.lock index 0cf47febc3..b664d24828 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -306,9 +306,15 @@ dependencies = [ "ndarray", "num-complex", "num-traits", - "pyo3", + "pyo3 0.12.4", ] +[[package]] +name = "once_cell" +version = "1.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "692fcb63b64b1758029e0a96ee63e049ce8c5948587f2f7208df04625e5f6b56" + [[package]] name = "parking_lot" version = "0.11.1" @@ -391,7 +397,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bf6bbbe8f70d179260b3728e5d04eb012f4f0c7988e58c11433dd689cecaa72e" dependencies = [ "ctor", - "hashbrown", "indoc", "inventory", "libc", @@ -401,6 +406,32 @@ dependencies = [ "unindent", ] +[[package]] +name = "pyo3" +version = "0.14.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ce0e80b2b35e9697353a25b0e4fa5374e38c451da2f86f0cd83c40e7f1d5191" +dependencies = [ + "cfg-if 1.0.0", + "hashbrown", + "indoc", + "libc", + "parking_lot", + "paste", + "pyo3-build-config", + "pyo3-macros", + "unindent", +] + +[[package]] +name = "pyo3-build-config" +version = "0.14.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "96007b58c38d68ae449ea4d82fbc390faf5f1f2c80c76a6e3d51385bceb56741" +dependencies = [ + "once_cell", +] + [[package]] name = "pyo3-derive-backend" version = "0.12.4" @@ -412,6 +443,29 @@ dependencies = [ "syn", ] +[[package]] +name = "pyo3-macros" +version = "0.14.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "326afb5c23f9789d0a367c37d58275c4d0e97ca74f05b9a25c0d66c6395c1c7b" +dependencies = [ + "pyo3-macros-backend", + "quote", + "syn", +] + +[[package]] +name = "pyo3-macros-backend" +version = "0.14.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e38169a08f98219bba484d19100811a1646d4962706b75d60766d21dce64f9c" +dependencies = [ + "proc-macro2", + "pyo3-build-config", + "quote", + "syn", +] + [[package]] name = "pyo3cls" version = "0.12.4" @@ -527,7 +581,7 @@ dependencies = [ "ndarray", "numpy", "petgraph", - "pyo3", + "pyo3 0.14.3", "rand", "rand_pcg", "rayon", diff --git a/Cargo.toml b/Cargo.toml index 6fa1831bc2..6d26f0db77 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.14.3" features = ["extension-module", "hashbrown"] [dependencies.hashbrown]