Cargo Features

rust_sbml = { version = "0.7.0", default-features = false, features = ["extension-module", "dependencies"] }
default = extension-module

The extension-module feature is set by default whenever rust_sbml is added without default-features = false somewhere in the dependency tree.

extension-module default

Enables extension-module of pyo3 ^0.14.1


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