Cargo Features
[dependencies]
struqture-py = { version = "2.0.0-alpha.3", default-features = false, features = ["extension-module", "json_schema", "struqture_1_import", "doc_generator"] }
- default = extension-module, json_schema, struqture_1_export, struqture_1_import
-
These default features are set whenever
struqture-py
is added without
somewhere in the dependency tree.default-features = false - extension-module default
-
Enables extension-module of pyo3 ^0.21
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. - json_schema default
-
Enables json_schema of struqture
- struqture_1_export struqture_1_import default = struqture_1
-
Enables struqture_1_export and struqture_1_import of struqture
- doc_generator
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.