Cargo Features
[dependencies]
py-sr25519-bindings = { version = "0.1.2", default-features = false, features = ["extension-module"] }
Allows
cargo test --no-default-features
to work see: https://github.com/PyO3/pyo3/issues/341
- default = extension-module
-
The
extension-module
feature is set by default wheneverpy-sr25519-bindings
is added without
somewhere in the dependency tree.default-features = false - extension-module default
-
Enables extension-module of pyo3 ^0.9.2
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.
py-sr25519-bindings has 2 features without comments.