Cargo Features
[dependencies]
solana-hash = { version = "2.1.6", default-features = false, features = ["std", "borsh", "bytemuck", "dev-context-only-utils", "frozen-abi", "serde"] }
- default = std
-
The
std
feature is set by default wheneversolana-hash
is added without
somewhere in the dependency tree.default-features = false - std default borsh? frozen-abi?
- borsh = std
-
Enables borsh
- bytemuck
-
Enables bytemuck and bytemuck_derive
- dev-context-only-utils
- frozen-abi = std
-
Enables solana-frozen-abi and solana-frozen-abi-macro
- serde
-
Enables serde and serde_derive
solana-hash has 7 features without comments.