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::{
thread as thread_program, Client, ClientError, ClientResult, SplToken,
};
}
// For programs that need to CPI into Clockwork.
#[cfg(feature = "thread")]
pub mod thread_program {
pub use clockwork_thread_program::{cpi, errors, program::ThreadProgram, ID};
pub mod accounts {
pub use clockwork_thread_program::accounts::*;
pub use clockwork_thread_program::objects::*;
}
}