Cargo Features
[dependencies]
lightmotif-py = { version = "0.9.1", default-features = false, features = ["pvalues", "built", "extension-module", "nightly"] }
- default = pvalues
-
The
pvalues
feature is set by default wheneverlightmotif-py
is added without
somewhere in the dependency tree.default-features = false - pvalues default = lightmotif-tfmpvalue
- built
- extension-module
-
Enables extension-module of pyo3 ^0.22.0
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. - nightly
-
Enables nightly of pyo3 ^0.22.0
pyo3:
Optimizes PyObject to Vec conversion and so on.
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.