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 whenever pyembed is added without default-features = false somewhere in the dependency tree.

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.

jemalloc-sys allocator-jemalloc?
serde serialization?
libmimalloc-sys allocator-mimalloc?
snmalloc-sys allocator-snmalloc?

Enables snmalloc-sys ^0.2.28