Cargo Features
[dependencies]
pyembed = { version = "0.24.0", default-features = false, features = ["allocator-jemalloc", "allocator-mimalloc", "allocator-snmalloc", "serialization", "zipimport"] }
- default = zipimport
-
The
zipimport
feature is set by default wheneverpyembed
is added without
somewhere in the dependency tree.default-features = false - allocator-jemalloc = jemalloc-sys
- allocator-mimalloc = libmimalloc-sys
- allocator-snmalloc = snmalloc-sys
- serialization = serde
-
Enables serialization of python-packaging
- zipimport default
-
Enables zipimport of python-oxidized-importer
python-oxidized-importer:
Enable support for importing from zip files.
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.