Cargo Features

[dependencies]
light-compressed-pda = { version = "0.3.1", default-features = false, features = ["no-entrypoint", "no-log-ix-name", "cpi", "custom-heap", "bench-sbf"] }
default = custom-heap

The custom-heap feature is set by default whenever light-compressed-pda is added without default-features = false somewhere in the dependency tree.

no-entrypoint cpi?
no-idl no-log-ix-name
cpi = no-entrypoint
custom-heap default = light-heap
mem-profiling test-sbf bench-sbf

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.

light-heap custom-heap

Enables light-heap ^0.1.1