Skip to main content

ahu/
lib.rs

1pub mod bundle;
2pub mod error;
3pub mod header;
4pub mod index;
5pub mod manifest;
6pub mod mmap_bundle;
7pub mod ops;
8pub mod seal;
9pub mod verify;
10
11pub use bundle::{Bundle, BundleBuilder};
12pub use error::{AhuError, Result};
13pub use header::FileHeader;
14pub use index::{
15    ALG_DISC_DEFAULT, ALG_DISC_ML_DSA_44, ALG_DISC_ML_DSA_65, ALG_DISC_ML_DSA_87, IndexFlags,
16    IndexRecord, compute_entry_key,
17};
18pub use manifest::{
19    BundleType, CaScope, Completeness, Compression, CompressionAlgorithm, Continuity, Integrity,
20    Manifest, ResponderId, ResponderIdType, Shard, Window,
21};
22pub use mmap_bundle::MmapBundle;
23pub use ops::{ApplyResult, DeltaStat, DiffResult, EntryRef, apply, diff};
24#[cfg(feature = "seal-verify")]
25pub use seal::{SealVerification, verify_seal, verify_seal_with_anchors, verify_seal_with_pins};
26pub use verify::{VerifyResult, check_epochs, manifest_digest, verify_structure};