mod io;
pub(crate) mod limits;
mod manifest;
pub mod paths;
mod verify;
use crate::replay::manifest::ReplayManifest;
#[derive(Debug, Clone)]
pub struct BundleEntry {
pub path: String,
pub data: Vec<u8>,
}
#[derive(Debug)]
pub struct ReadBundle {
pub manifest: ReplayManifest,
pub entries: Vec<(String, Vec<u8>)>,
}
pub use io::{read_bundle_tar_gz, read_bundle_tar_gz_with_limits, write_bundle_tar_gz};
pub use limits::{ReplayContractError, ReplayIngestError, ReplayLimits};
pub use manifest::build_file_manifest;
pub use verify::bundle_digest;
#[cfg(test)]
mod tests;