solana_vote_program/
lib.rs1#![cfg_attr(
2 not(feature = "agave-unstable-api"),
3 deprecated(
4 since = "3.1.0",
5 note = "This crate has been marked for formal inclusion in the Agave Unstable API. From \
6 v4.0.0 onward, the `agave-unstable-api` crate feature must be specified to \
7 acknowledge use of an interface that may break without warning."
8 )
9)]
10#![cfg_attr(feature = "frozen-abi", feature(min_specialization))]
11
12pub mod vote_processor;
13pub mod vote_state;
14
15#[cfg_attr(feature = "metrics", macro_use)]
16#[cfg(feature = "metrics")]
17extern crate solana_metrics;
18
19#[cfg(feature = "frozen-abi")]
20extern crate solana_frozen_abi_macro;
21
22pub use solana_vote_interface::{
23 authorized_voters, error as vote_error, instruction as vote_instruction,
24 program::{check_id, id},
25};