Cargo Features
pyo3_bindgen has no features set by default.
[dependencies]
pyo3_bindgen = { version = "0.5.0", features = ["macros", "numpy"] }
- macros
-
Enables
import_python!
macro frompyo3_bindgen_macros
crateEnables pyo3_bindgen_macros
- numpy
-
Enables type mapping between Python
numpy::ndarray
and Rustnumpy::PyArray
Enables numpy of pyo3_bindgen_engine