Crate features / pyo3-build-config
Feature flags · pyo3-build-config 0.30.1 · from crates.io 2026-10-24
pyo3-build-config features: what each one does, and the line to copy
Short answerpyo3-build-config 0.30.1 has 3 features. Nothing is on by default: turn on what you use. It needs Rust 1.85 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
extension-module | nothing else (a switch the code checks) | |
generate-import-lib | nothing else (a switch the code checks) | |
resolve-config | nothing else (a switch the code checks) |
dep:x turns on the optional dependency x; x/y turns on feature y of dependency x (with ?, only if x is already on).
MSRV history
The minimum Rust version pyo3-build-config declares (rust-version), and the release that changed it:
- 0.23.3 (2024-12-03): Rust 1.63
- 0.26.0 (2025-08-29): Rust 1.74
- 0.28.0 (2026-02-01): Rust 1.83
- 0.30.1 (2026-10-14): Rust 1.85
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p pyo3-build-config --precise <version>, or use resolver 3, which picks compatible versions for you.
More on pyo3-build-config
Real downloads, dependents and alternatives: pyo3-build-config crate data (835.4K real downloads a day, 156 dependents).
docs.rs feature list · crates.io · license MIT OR Apache-2.0 · edition 2024
Up next
Before you depend on itpyo3-build-config crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?