Cargo Features

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

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

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

Affects instruction::create_account_with_config, instruction::create_account_with_config_v2, instruction::authorize, instruction::authorize_checked, instruction::authorize_with_seed, instruction::authorize_checked_with_seed, instruction::update_validator_identity, instruction::update_commission, instruction::update_commission_collector, instruction::update_commission_bps, instruction::deposit_delegator_rewards, instruction::vote, instruction::vote_switch, instruction::update_vote_state, instruction::update_vote_state_switch, instruction::compact_update_vote_state

dev-context-only-utils = bincode

Enables arbitrary, dev-context-only-utils of solana-pubkey

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 cfg_eval, solana-serde-varint, serde_derive and serde_with, serde of solana-short-vec, serde of solana-hash and solana-pubkey 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.

Affects state::serde_compact_vote_state_update, state::serde_tower_sync