Cargo Features

solana-slot-hashes has no features set by default.

[dependencies]
solana-slot-hashes = { version = "2.1.2", features = ["serde", "sysvar"] }
serde

Enables serde and serde_derive, serde of solana-hash

sysvar

Enables solana-sysvar-id

Affects solana-slot-hashes::sysvar