Cargo Features

solana-vote-interface has no features set by default.

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

Enables bincode, solana-serialize-utils, and solana-system-interface

Affects instruction::create_account_with_config, instruction::authorize, instruction::authorize_checked, instruction::authorize_with_seed, instruction::authorize_checked_with_seed, instruction::update_validator_identity, instruction::update_commission, instruction::vote, instruction::vote_switch, instruction::update_vote_state, instruction::update_vote_state_switch, instruction::compact_update_vote_state, instruction::compact_update_vote_state_switch, instruction::tower_sync, instruction::tower_sync_switch, instruction::withdraw

dev-context-only-utils = bincode
frozen-abi = serde

Enables solana-frozen-abi and solana-frozen-abi-macro, frozen-abi of solana-hash, solana-pubkey, and solana-short-vec

serde bincode? frozen-abi?

Enables serde and serde_derive, solana-serde-varint and solana-short-vec, serde of solana-hash and solana-pubkey

Affects state::serde_compact_vote_state_update, state::serde_tower_sync