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 whenever light-verifier is added without default-features = false somewhere in the dependency tree.

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