Cargo Features

[dependencies]
cramjam = { version = "2.4.0", default-features = false, features = ["mimallocator", "extension-module"] }
default = extension-module, mimallocator

These default features are set whenever cramjam is added without default-features = false somewhere in the dependency tree.

mimallocator default = mimalloc
extension-module default

Enables extension-module of pyo3 ^0.14.1

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.

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.

mimalloc mimallocator