diff --git a/Cargo.lock b/Cargo.lock index 0cf47febc3..4c9026b5a2 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.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "af205762ba65eec9f27a2fa1a57a40644e8e3368784b8c8b2f2de48f6e8ddd96" +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.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "755944027ce803c7238e59c5a18e59c1d0a4553db50b23e9ba209a568353028d" +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.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd31b36bccfd902c78804bd96c28ea93eac6fa0ca311f9d21ef2230b6665b29a" +dependencies = [ + "pyo3-macros-backend", + "quote", + "syn", +] + +[[package]] +name = "pyo3-macros-backend" +version = "0.14.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c21c59ba36db9c823e931c662766b0dd01a030b1d96585b67d8857a96a56b972" +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.2", "rand", "rand_pcg", "rayon", diff --git a/Cargo.toml b/Cargo.toml index 6fa1831bc2..ec6a8c1cfe 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.2" features = ["extension-module", "hashbrown"] [dependencies.hashbrown]