1#![cfg_attr(docsrs, feature(doc_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#[cfg(feature = "liquidity-provider")]
13anchor_lang::declare_program!(gmsol_liquidity_provider);
14
15pub mod constants;
17
18#[cfg(feature = "utils")]
20pub mod utils;
21
22pub mod error;
24
25#[cfg(feature = "model")]
27pub mod model;
28
29pub use error::Error;
30pub type Result<T> = std::result::Result<T, Error>;
31
32pub use anchor_lang;
33pub use bytemuck;