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