Skip to main content

Crate eggup_archive

Crate eggup_archive 

Source
Expand description

Bounded allowlisted extraction of already verified local archives.

The crate supports regular-file members from tar.gz and zip archives without transport, authenticity, or live-installation policy.

Structs§

ArchiveLimits
Finite resource limits applied to one extraction operation.
ArchiveMember
One declared archive path and its single-component extraction filename.
ArchivePlan
A validated declaration for one local archive extraction.
BoundExtraction
Object-bound extraction output awaiting staging and deferred cleanup.
BoundMember
One extracted member proven by its already-open member object.
DeferredCleanup
Deferred extraction-root cleanup paired with outstanding bound sources.
ExtractedArchive
Extraction output whose private directory is emptied when dropped.
ExtractedMember
Verified output evidence for one extracted regular file.
ExtractionError
An extraction failure with optional bounded recovery location evidence.
PersistedExtraction
Extracted output whose cleanup responsibility has been transferred.

Enums§

ArchiveFormat
Supported local archive formats.
ExtractionErrorKind
Stable error categories for extraction and cleanup.

Functions§

extract
Extracts the exact declared members from an already verified local archive.