Cargo Features
[dependencies]
light-account-checks = { version = "0.1.0", default-features = false, features = ["solana", "pinocchio"] }
- default = solana
-
The
solana
feature is set by default wheneverlight-account-checks
is added without
somewhere in the dependency tree.default-features = false - solana default = solana-program
- pinocchio
-
Enables pinocchio
Affects
checks::check_signer
,checks::check_owner
,checks::check_program
,checks::check_pda_seeds
…
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.