Cargo Features

solana-sysvar has no features set by default.

[dependencies]
solana-sysvar = { version = "0.0.2", features = ["bincode", "bytemuck", "dev-context-only-utils", "frozen-abi", "serde"] }
bincode dev-context-only-utils? = serde

Enables bincode

Affects solana-sysvar::Sysvar

bytemuck dev-context-only-utils?

Enables bytemuck and bytemuck_derive

Affects slot_hashes::PodSlotHashes

dev-context-only-utils = bincode, bytemuck

Enables qualifier_attr

frozen-abi

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

serde bincode?

Enables serde and serde_derive, serde of solana-clock, solana-epoch-rewards, solana-epoch-schedule, solana-fee-calculator, solana-last-restart-slot, solana-rent, solana-slot-hashes, and solana-slot-history