wormhole_solana_utils/lib.rs
1pub mod account_info;
2
3#[cfg(feature = "anchor")]
4pub mod accounts;
5
6#[cfg(feature = "anchor")]
7pub mod cpi;
8
9#[cfg(feature = "anchor")]
10type FeatureResult<T> = anchor_lang::Result<T>;
11#[cfg(not(feature = "anchor"))]
12type FeatureResult<T> = Result<T, solana_program::program_error::ProgramError>;