Cargo Features

solana-hash has no features set by default.

[dependencies]
solana-hash = { version = "4.1.0", features = ["std", "atomic", "borsh", "bytemuck", "copy", "decode", "frozen-abi", "sanitize", "serde", "wincode"] }
std frozen-abi?

Enables std of optional borsh, optional serde, and optional wincode ^0.2.2

serde:

Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library.

atomic

Enables solana-atomic-u64

borsh

Enables borsh

bytemuck = copy

Enables bytemuck and bytemuck_derive

copy bytemuck?
decode

Enables five8

Affects solana-hash::ParseHashError

frozen-abi = std

Enables solana-frozen-abi and solana-frozen-abi-macro

sanitize

Enables solana-sanitize

serde

Enables serde and serde_derive

wincode

Enables wincode ^0.2.2