1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
// For everyone
pub use clockwork_utils::*;
// For clients
#[cfg(feature = "client")]
pub mod client {
pub use clockwork_client::{
queue as queue_program, Client, ClientError, ClientResult, SplToken,
};
}
// For programs that need to CPI into Clockwork.
#[cfg(feature = "queue")]
pub mod queue_program {
pub use clockwork_queue_program::{cpi, errors, program::QueueProgram, ID};
pub mod accounts {
pub use clockwork_queue_program::accounts::*;
pub use clockwork_queue_program::objects::*;
}
}