Skip to main content

Crate tzap_core

Crate tzap_core 

Source
Expand description

Core implementation surface for the tzap v0.41 archive format.

This crate owns wire-format parsing, validation, crypto, compression, FEC, and archive read/write primitives. The CLI stays intentionally thin.

Re-exports§

pub use crypto::HmacDomain;
pub use crypto::KdfParams;
pub use crypto::MasterKey;
pub use crypto::Subkeys;
pub use format::AeadAlgo;
pub use format::CompressionAlgo;
pub use format::FecAlgo;
pub use format::FormatError;
pub use format::KdfAlgo;
pub use format::FORMAT_VERSION;
pub use format::VOLUME_FORMAT_REV;
pub use reader::open_archive;
pub use reader::open_archive_volumes;
pub use reader::open_archive_with_bootstrap_sidecar;
pub use reader::open_non_seekable_archive;
pub use reader::public_no_key_verify_archive_with;
pub use reader::public_no_key_verify_volumes_with;
pub use reader::sequential_extract_tar_stream;
pub use reader::ArchiveEntry;
pub use reader::OpenedArchive;
pub use reader::PublicNoKeyVerification;
pub use reader::ReaderOptions;
pub use reader::RootAuthVerification;
pub use tar_model::MetadataDiagnostic;
pub use tar_model::SafeExtractionOptions;
pub use tar_model::TarEntryKind;
pub use writer::write_archive;
pub use writer::write_archive_with_dictionary;
pub use writer::write_archive_with_dictionary_and_kdf;
pub use writer::write_archive_with_dictionary_and_root_auth;
pub use writer::write_archive_with_dictionary_kdf_and_root_auth;
pub use writer::write_archive_with_kdf;
pub use writer::write_archive_with_root_auth;
pub use writer::write_archive_with_root_auth_and_kdf;
pub use writer::write_empty_archive;
pub use writer::RegularFile;
pub use writer::RootAuthSigningRequest;
pub use writer::RootAuthWriterConfig;
pub use writer::WriterOptions;

Modules§

compression
crypto
fec
format
metadata
padding
reader
root_auth
tar_model
wire
writer