1#![cfg_attr(docsrs, feature(doc_auto_cfg))]
2#![allow(clippy::too_many_arguments)]
3
4#[cfg(feature = "store")]
5anchor_lang::declare_program!(gmsol_store);
6#[cfg(feature = "treasury")]
7anchor_lang::declare_program!(gmsol_treasury);
8#[cfg(feature = "timelock")]
9anchor_lang::declare_program!(gmsol_timelock);
10#[cfg(feature = "competition")]
11anchor_lang::declare_program!(gmsol_competition);
12
13pub mod constants;
15
16#[cfg(feature = "utils")]
18pub mod utils;
19
20pub mod error;
22
23#[cfg(feature = "model")]
25pub mod model;
26
27pub use error::Error;
28pub type Result<T> = std::result::Result<T, Error>;
29
30pub use anchor_lang;
31pub use bytemuck;