| Crates.io | carbon-snapshots-decoder |
| lib.rs | carbon-snapshots-decoder |
| version | 0.12.1 |
| created_at | 2026-01-21 23:37:03.821208+00 |
| updated_at | 2026-01-21 23:37:03.821208+00 |
| description | Rust decoder for Star Atlas Snapshots program on Solana |
| homepage | https://github.com/staratlasmeta/star-atlas-decoders |
| repository | https://github.com/staratlasmeta/star-atlas-decoders |
| max_upload_size | |
| id | 2060402 |
| size | 130,780 |
Rust decoder for the Star Atlas Snapshots program on Solana, generated using Carbon CLI.
snapNQkxsiqDWdbNfz8KVB7e3NPzLwtHHA6WV8kKgUcAdd this crate to your Cargo.toml:
[dependencies]
carbon-snapshots-decoder = "0.12.0"
use carbon_snapshots_decoder::{SnapshotsDecoder, SnapshotsAccount};
use carbon_core::account::AccountDecoder;
let decoder = SnapshotsDecoder;
let decoded_account = decoder.decode_account(&account);
if let Some(decoded) = decoded_account {
match decoded.data {
// Handle account types
_ => println!("Decoded account: {:?}", decoded.data),
}
}
Full documentation is available at docs.rs.
See the main repository for build instructions and contribution guidelines.
Licensed under the Apache-2.0 license.