1#![cfg_attr(
2 not(feature = "agave-unstable-api"),
3 deprecated(
4 since = "3.1.0",
5 note = "This crate has been marked for formal inclusion in the Agave Unstable API. From \
6 v4.0.0 onward, the `agave-unstable-api` crate feature must be specified to \
7 acknowledge use of an interface that may break without warning."
8 )
9)]
10
11mod archive;
12mod archive_format;
13pub mod error;
14pub mod hardened_unpack;
15mod kind;
16pub mod paths;
17pub mod snapshot_archive_info;
18pub mod snapshot_config;
19pub mod snapshot_hash;
20mod snapshot_interval;
21mod snapshot_version;
22mod unarchive;
23
24pub type Result<T> = std::result::Result<T, error::SnapshotError>;
25
26pub use {
27 archive::archive_snapshot,
28 archive_format::*,
29 kind::SnapshotKind,
30 snapshot_interval::SnapshotInterval,
31 snapshot_version::SnapshotVersion,
32 unarchive::{streaming_unarchive_snapshot, unpack_genesis_archive},
33};