Cargo Features

[dependencies]
light-system-program = { version = "1.2.0", default-features = false, features = ["no-entrypoint", "no-log-ix-name", "cpi", "custom-heap", "bench-sbf", "idl-build"] }
default = custom-heap, idl-build

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

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

Enables idl-build of anchor-lang =0.29.0

Affects light-system-program::light_system_program.stub_idl_build

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