Skip to main content

satrush_client/
lib.rs

1// Codama-generated code is excluded from linting: rustfmt is skipped and all
2// clippy/rustc warnings are allowed, so regenerating the client can never break
3// `pnpm lint` even if Codama emits a newly-lintable construct.
4#[rustfmt::skip]
5#[allow(clippy::all, warnings)]
6mod generated;
7mod builders;
8#[cfg(feature = "fetch")]
9pub mod gpa;
10mod pda;
11mod sats;
12mod selection;
13pub mod test_utils;
14
15pub use builders::*;
16pub use pda::*;
17pub use sats::*;
18pub use selection::*;
19
20pub use generated::accounts;
21pub use generated::errors::*;
22pub use generated::instructions;
23pub use generated::programs::*;
24pub use generated::types;
25
26#[cfg(feature = "fetch")]
27pub use generated::shared::*;
28
29#[cfg(feature = "fetch")]
30pub(crate) use generated::*;