switchboard_on_demand/
lib.rs1#![allow(unused_attributes)]
2#![allow(clippy::result_large_err)]
3
4mod macros;
5
6#[allow(unused_imports)]
7use std::sync::Arc;
8
9use solana_program::pubkey;
10
11pub mod decimal;
12pub use decimal::*;
13
14pub mod on_demand;
15pub use on_demand::*;
16
17pub mod utils;
18pub use utils::*;
19
20pub mod anchor_traits;
21pub use anchor_traits::*;
22
23pub mod program_id;
24pub use program_id::*;
25
26pub mod accounts;
27pub mod instructions;
28pub mod types;
29
30pub mod prelude;
31
32pub mod sysvar;
33pub use sysvar::*;
34
35cfg_client! {
36 use solana_sdk::signer::keypair::Keypair;
37 pub type AnchorClient = anchor_client::Client<Arc<Keypair>>;
38 mod client;
39 pub mod clock;
40 pub use clock::*;
41}
42
43cfg_ipfs! {
44 pub mod ipfs {
45 pub use switchboard_common::ipfs::*;
46 }
47}