Cargo Features
solana-slot-hashes has no features set by default.
[dependencies]
solana-slot-hashes = { version = "3.0.2", features = ["serde", "sysvar", "wincode"] }
- serde
-
Enables serde_derive, serde of solana-hash and alloc of serde
serde:
Provide impls for types in the Rust core allocation and collections library including String, Box<T>, Vec<T>, and Cow<T>. This is a subset of std but may be enabled without depending on all of std.
- sysvar
-
Enables solana-sdk-ids and solana-sysvar-id
Affects
solana-slot-hashes::sysvar… - wincode
-
Enables wincode of solana-hash, alloc of wincode