Cargo Features

[dependencies]
light-hasher = { version = "3.0.0", default-features = false, features = ["solana", "pinocchio"] }
default = solana

The solana feature is set by default whenever light-hasher is added without default-features = false somewhere in the dependency tree.

solana default = solana-program-error, solana-pubkey
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-error solana

Enables solana-program-error

Optional import for ProgramError conversion

solana-pubkey solana