Cargo Features
[dependencies]
light-verifier = { version = "2.0.0", default-features = false, features = ["solana", "anchor", "pinocchio"] }
- default = solana
-
The
solana
feature is set by default wheneverlight-verifier
is added without
somewhere in the dependency tree.default-features = false - solana default anchor? = solana-msg, solana-program-error
-
Enables solana of light-compressed-account
- anchor = solana
-
For backward compatibility, alias to solana
- pinocchio
-
Enables pinocchio of light-compressed-account and pinocchio
Optional import for ProgramError conversion
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.
- solana-program-error solana
-
Enables solana-program-error
Optional import for ProgramError conversion
- solana-msg solana