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

std default borsh? frozen-abi?
borsh = std

Enables borsh

bytemuck

Enables bytemuck and bytemuck_derive

dev-context-only-utils

Enables alloc of bs58

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.