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 alt;
8mod builders;
9#[cfg(feature = "fetch")]
10pub mod gpa;
11mod hashrate;
12pub mod mint;
13mod pda;
14pub mod rng;
15mod sats;
16mod selection;
17mod streak;
18pub mod test_utils;
19
20pub use alt::*;
21pub use builders::*;
22pub use hashrate::*;
23pub use pda::*;
24pub use sats::*;
25pub use selection::*;
26pub use streak::*;
27
28pub use generated::accounts;
29pub use generated::errors::*;
30pub use generated::instructions;
31pub use generated::programs::*;
32pub use generated::types;
33
34#[cfg(feature = "fetch")]
35pub use generated::shared::*;
36
37#[cfg(feature = "fetch")]
38pub(crate) use generated::*;