Cargo Features

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

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

Enables bincode ^1.3.3, trezoa-serialize-utils, and trezoa-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

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

frozen-abi = serde

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

serde bincode? frozen-abi?

Enables cfg_eval, serde_derive and serde_with, trezoa-serde-varint and trezoa-short-vec, serde of trezoa-hash and trezoa-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