Cargo Features
[dependencies]
light-hasher = { version = "2.0.0", default-features = false, features = ["solana", "pinocchio"] }
- default = solana
-
The
solana
feature is set by default wheneverlight-hasher
is added without
somewhere in the dependency tree.default-features = false - solana default = solana-program
- pinocchio
-
Enables pinocchio
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 solana
-
Enables solana-program =1.18.22
Optional import for ProgramError conversion