Crate features / pyo3-ffi
Feature flags · pyo3-ffi 0.30.1 · from crates.io 2026-10-24
pyo3-ffi features: what each one does, and the line to copy
Short answerpyo3-ffi 0.30.1 has 12 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 |
|---|---|---|
abi3 | nothing else (a switch the code checks) | |
abi3-py310 | abi3-py311 | |
abi3-py311 | abi3-py312 | |
abi3-py312 | abi3-py313 | |
abi3-py313 | abi3-py314 | |
abi3-py314 | abi3-py315 | |
abi3-py315 | abi3 | |
abi3-py39 | abi3-py310 | |
abi3t | nothing else (a switch the code checks) | |
abi3t-py315 | abi3t | |
extension-module | pyo3-build-config/extension-module | |
generate-import-lib | pyo3-build-config/generate-import-lib |
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-ffi 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-ffi --precise <version>, or use resolver 3, which picks compatible versions for you.
More on pyo3-ffi
Real downloads, dependents and alternatives: pyo3-ffi crate data (814.4K real downloads a day, 12 dependents).
docs.rs feature list · crates.io · license MIT OR Apache-2.0 · edition 2024
Up next
Before you depend on itpyo3-ffi crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?