Cargo Features
[dependencies]
rust_sbml = { version = "0.7.0", default-features = false, features = ["extension-module", "dependencies"] }
- default = extension-module
-
The
extension-module
feature is set by default wheneverrust_sbml
is added without
somewhere in the dependency tree.default-features = false - extension-module default
-
Enables extension-module of pyo3 ^0.14.1
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. - dependencies = pyo3
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- pyo3 dependencies? extension-module
-
Enables pyo3 ^0.14.1