diff --git a/Cargo.lock b/Cargo.lock index f0cdf655..8082c3c8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -725,6 +725,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "deaa5745de3f5231ce10517a1f5dd97d53e5a2fd77aa6b5842292085831d48d7" dependencies = [ "once_cell", + "python3-dll-a", "target-lexicon 0.12.14", ] @@ -763,6 +764,15 @@ dependencies = [ "syn 2.0.52", ] +[[package]] +name = "python3-dll-a" +version = "0.2.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d5f07cd4412be8fa09a721d40007c483981bbe072cd6a21f2e83e04ec8f8343f" +dependencies = [ + "cc", +] + [[package]] name = "quote" version = "1.0.35" diff --git a/cramjam-python/Cargo.toml b/cramjam-python/Cargo.toml index d6bbc23c..736c799a 100644 --- a/cramjam-python/Cargo.toml +++ b/cramjam-python/Cargo.toml @@ -13,9 +13,9 @@ name = "cramjam" crate-type = ["cdylib"] [features] -default = ["extension-module", "python3-dll"] +default = ["extension-module", "generate-import-lib"] extension-module = ["pyo3/extension-module"] -python3-dll = ["pyo3/python3-dll-a"] +generate-import-lib = ["pyo3/generate-import-lib"] [dependencies]