Cargo Features

[dependencies]
account-compression = { version = "2.0.0", default-features = false, features = ["no-entrypoint", "no-log-ix-name", "cpi", "custom-heap", "test-sbf", "bench-sbf", "test"] }
default = test

The test feature is set by default whenever account-compression 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 bench-sbf? = light-heap
mem-profiling test-sbf
bench-sbf = custom-heap
test default

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?