gmsol_solana_utils/
lib.rs

1#![deny(missing_docs)]
2#![deny(unreachable_pub)]
3
4//! # GMSOL Solana Utils
5
6/// Error type.
7pub mod error;
8
9/// Cluster.
10pub mod cluster;
11
12/// Signer.
13pub mod signer;
14
15/// Instruction Group.
16pub mod instruction_group;
17
18/// Transaction Group.
19pub mod transaction_group;
20
21/// Address Lookup Table.
22pub mod address_lookup_table;
23
24/// Program.
25pub mod program;
26
27/// Compute budget.
28pub mod compute_budget;
29
30/// Transaction builder.
31pub mod transaction_builder;
32
33/// Transaction bundle builder.
34#[cfg(client)]
35pub mod bundle_builder;
36
37/// Bundler for bundle builders.
38#[cfg(feature = "make-bundle-builder")]
39pub mod make_bundle_builder;
40
41/// RPC client extension.
42#[cfg(client)]
43pub mod client;
44
45/// Utils.
46pub mod utils;
47
48pub use crate::{
49    error::Error,
50    instruction_group::{AtomicGroup, IntoAtomicGroup, ParallelGroup},
51    transaction_group::TransactionGroup,
52};
53
54/// Result type.
55pub type Result<T> = std::result::Result<T, Error>;
56
57#[cfg(anchor)]
58pub use anchor_lang;
59#[cfg(client)]
60pub use solana_client;
61pub use solana_sdk;