From 8c514cedf038f9e4657a69f9dc214ea102af6c14 Mon Sep 17 00:00:00 2001 From: "w.pomp" Date: Tue, 16 Jun 2026 14:51:40 +0200 Subject: [PATCH] - generate-import-lib is needed to build wheels for windows --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 91ac424..9d10803 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -28,7 +28,7 @@ lazy_static = "1" ndarray = "0.17" num = "0.4" numpy = { version = "0.28", optional = true } -pyo3 = { version = "0.28", features = ["abi3-py310", "eyre", "multiple-pymethods"], optional = true } +pyo3 = { version = "0.28", features = ["abi3-py310", "eyre", "generate-import-lib", "multiple-pymethods"], optional = true } pyo3-stub-gen = { version = "0.22", optional = true } rayon = "1" thiserror = "2"