Cargo Features
[dependencies]
fastatomstruct = { version = "1.0.2", default-features = false, features = ["extension-module", "generate-import-lib", "abi3-py38"] }
- default = extension-module, generate-import-lib
-
These default features are set whenever
fastatomstruct
is added without
somewhere in the dependency tree.default-features = false - extension-module default
-
Enables extension-module of pyo3
pyo3:
Use this feature when building an extension module.
It tells the linker to keep the python symbols unresolved,
so that the module can also be used with statically linked python interpreters. - generate-import-lib default
-
Enables generate-import-lib of pyo3
pyo3:
Automatically generates
python3.dll
import libraries for Windows targets. - abi3-py38
fastatomstruct has 4 features without comments.