Cargo Features
[dependencies]
light-registry = { version = "1.2.0", default-features = false, features = ["no-entrypoint", "no-log-ix-name", "cpi", "custom-heap", "mem-profiling", "sdk"] }
- default = custom-heap, mem-profiling
-
These default features are set whenever
light-registry
is added without
somewhere in the dependency tree.default-features = false - no-entrypoint cpi?
- no-idl no-log-ix-name
- cpi = no-entrypoint
- custom-heap default = light-heap
- mem-profiling default
- test-sbf bench-sbf sdk
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.