Expand description
Core implementation surface for the tzap v0.45 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 entry_metadata::canonical_base64_encode;pub use entry_metadata::decode_percent_name;pub use entry_metadata::encode_percent_name;pub use entry_metadata::linux_posix_acl_xattr_to_schily;pub use entry_metadata::schily_posix_acl_to_linux_xattr;pub use entry_metadata::ArchiveTimestamp;pub use entry_metadata::RestoreClass;pub use entry_metadata::RestorePolicy;pub use entry_metadata::SparseExtent;pub use format::AeadAlgo;pub use format::ArchiveWriteError;pub use format::CompressionAlgo;pub use format::ExtractError;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 non_seekable_reader::extract_non_seekable_stream_to_dir;pub use non_seekable_reader::extract_non_seekable_stream_to_dir_with_bootstrap_sidecar;pub use non_seekable_reader::extract_non_seekable_stream_to_dir_with_recipient_wrap_resolver;pub use non_seekable_reader::extract_non_seekable_stream_to_dir_with_recipient_wrap_resolver_and_bootstrap_sidecar;pub use non_seekable_reader::extract_unencrypted_non_seekable_stream_to_dir;pub use non_seekable_reader::extract_unencrypted_non_seekable_stream_to_dir_with_bootstrap_sidecar;pub use non_seekable_reader::list_non_seekable_stream;pub use non_seekable_reader::list_non_seekable_stream_with_bootstrap_sidecar;pub use non_seekable_reader::list_non_seekable_stream_with_recipient_wrap_resolver;pub use non_seekable_reader::list_non_seekable_stream_with_recipient_wrap_resolver_and_bootstrap_sidecar;pub use non_seekable_reader::list_unencrypted_non_seekable_stream;pub use non_seekable_reader::list_unencrypted_non_seekable_stream_with_bootstrap_sidecar;pub use non_seekable_reader::verify_non_seekable_stream;pub use non_seekable_reader::verify_non_seekable_stream_with_bootstrap_sidecar;pub use non_seekable_reader::verify_non_seekable_stream_with_options;pub use non_seekable_reader::verify_non_seekable_stream_with_recipient_wrap_resolver_and_bootstrap_sidecar;pub use non_seekable_reader::verify_non_seekable_stream_with_recipient_wrap_resolver_options;pub use non_seekable_reader::verify_unencrypted_non_seekable_stream_with_bootstrap_sidecar;pub use non_seekable_reader::verify_unencrypted_non_seekable_stream_with_options;pub use non_seekable_reader::NonSeekableReaderOptions;pub use non_seekable_reader::SequentialExtractReport;pub use non_seekable_reader::SequentialListReport;pub use non_seekable_reader::SequentialRootAuthStatus;pub use non_seekable_reader::SequentialVerifyReport;pub use reader::open_archive;pub use reader::open_archive_unencrypted;pub use reader::open_archive_volumes;pub use reader::open_archive_volumes_unencrypted;pub use reader::open_archive_with_bootstrap_sidecar;pub use reader::open_archive_with_recipient_wrap_resolver;pub use reader::open_non_seekable_archive;pub use reader::open_seekable_archive;pub use reader::open_seekable_archive_volumes;pub use reader::open_seekable_archive_volumes_with_recipient_wrap_resolver_options;pub use reader::open_seekable_archive_with_bootstrap_sidecar;pub use reader::open_seekable_archive_with_bootstrap_sidecar_options;pub use reader::open_seekable_archive_with_recipient_wrap_resolver_options;pub use reader::public_no_key_verify_archive_with;pub use reader::public_no_key_verify_volumes_with;pub use reader::public_no_key_verify_volumes_with_options;pub use reader::sequential_extract_tar_stream;pub use reader::ArchiveContentVerification;pub use reader::ArchiveEntry;pub use reader::ArchiveExtractProgressSink;pub use reader::ArchiveIndexEntry;pub use reader::ArchiveReadAt;pub use reader::ArchiveRepairPatch;pub use reader::OpenedArchive;pub use reader::PublicNoKeyDiagnostic;pub use reader::PublicNoKeyVerification;pub use reader::ReaderOptions;pub use reader::RecipientWrapArchiveIdentity;pub use reader::RecipientWrapCandidateMasterKey;pub use reader::RecipientWrapRecordContext;pub use reader::RootAuthDiagnostic;pub use reader::RootAuthVerification;pub use tar_model::EntryMetadataVerification;pub use tar_model::MetadataDiagnostic;pub use tar_model::MetadataDiagnosticStatus;pub use tar_model::MetadataOperation;pub use tar_model::MetadataVerificationReport;pub use tar_model::RestorePolicyCapability;pub use tar_model::SafeExtractionOptions;pub use tar_model::TarEntryKind;pub use writer::encode_v45_sparse_map;pub use writer::write_archive;pub use writer::write_archive_sources_to_sink;pub use writer::write_archive_sources_to_sink_ordered_parallel;pub use writer::write_archive_sources_to_sink_ordered_parallel_with_progress;pub use writer::write_archive_sources_to_sink_ordered_parallel_with_recipient_wrap_records;pub use writer::write_archive_sources_to_sink_ordered_parallel_with_recipient_wrap_records_and_progress;pub use writer::write_archive_sources_to_sink_single_pass;pub use writer::write_archive_sources_to_sink_single_pass_with_progress;pub use writer::write_archive_sources_to_sink_single_pass_with_recipient_wrap_records;pub use writer::write_archive_sources_to_sink_with_progress;pub use writer::write_archive_unencrypted;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_recipient_wrap_records;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::ArchiveWritePhase;pub use writer::ArchiveWriteProgressSink;pub use writer::ArchiveWriteSink;pub use writer::KeyWrapRecordSource;pub use writer::MemoryArchiveSink;pub use writer::NativeAuxiliaryMetadata;pub use writer::NativeAuxiliaryNameEncoding;pub use writer::NativeFileMetadata;pub use writer::PortableFileMetadata;pub use writer::PortableModeOrigin;pub use writer::PortablePosixOwner;pub use writer::RegularFile;pub use writer::RegularFileSource;pub use writer::RootAuthSigningRequest;pub use writer::RootAuthWriterConfig;pub use writer::SourceEntryKind;pub use writer::WriterOptions;pub use writer::WriterTimings;pub use writer::WrittenArchiveSummary;
Modules§
- compression
- crypto
- entry_
metadata - Revision-45 per-entry metadata, canonical PAX, and auxiliary-stream rules.
- fec
- format
- metadata
- non_
seekable_ reader - padding
- reader
- root_
auth - tar_
model - wire
- writer