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§
- Archive
Limits - Finite resource limits applied to one extraction operation.
- Archive
Member - One declared archive path and its single-component extraction filename.
- Archive
Plan - A validated declaration for one local archive extraction.
- Bound
Extraction - Object-bound extraction output awaiting staging and deferred cleanup.
- Bound
Member - One extracted member proven by its already-open member object.
- Deferred
Cleanup - Deferred extraction-root cleanup paired with outstanding bound sources.
- Extracted
Archive - Extraction output whose private directory is emptied when dropped.
- Extracted
Member - Verified output evidence for one extracted regular file.
- Extraction
Error - An extraction failure with optional bounded recovery location evidence.
- Persisted
Extraction - Extracted output whose cleanup responsibility has been transferred.
Enums§
- Archive
Format - Supported local archive formats.
- Extraction
Error Kind - Stable error categories for extraction and cleanup.
Functions§
- extract
- Extracts the exact declared members from an already verified local archive.