#![no_std]

#[cfg(test)]
extern crate std;

pub mod error;

mod interface;

#[cfg(test)]
mod tests;

cfg_if::cfg_if! {
    if #[cfg(all(feature = "library", not(test)))] {
        pub use interface::{AxelarOperatorsClient, AxelarOperatorsInterface};
    } else {
        pub mod event;
        mod storage;
        mod contract;

        pub use contract::{AxelarOperators, AxelarOperatorsClient};
        pub use interface::AxelarOperatorsInterface;
    }
}
