Crate safe_unzip

Crate safe_unzip 

Source

Re-exports§

pub use adapter::ZipAdapter;
pub use entry::Entry;
pub use entry::EntryInfo;
pub use entry::EntryKind;
pub use policy::Policy;
pub use policy::PolicyChain;
pub use policy::PolicyConfig;
pub use policy::SymlinkBehavior;

Modules§

adapter
Archive format adapters.
entry
Generic archive entry representation.
policy
Security policies for archive extraction.

Structs§

Driver
Generic extraction driver that works with any archive format.
ExtractionReport
Extraction report with statistics.
Extractor
Limits
Progress
Progress information passed to callbacks.
Report
VerifyReport
Report returned by verify().

Enums§

Error
Errors that can occur during archive extraction.
ExtractionMode
Extraction strategy.
OverwriteMode
What to do when a file already exists at the extraction path.
OverwritePolicy
What to do when a file already exists at the extraction path.
SymlinkPolicy
What to do with symlinks in the archive.
ValidationMode
Extraction mode determining validation strategy.

Functions§

extract
Extract from a reader with default settings.
extract_file
Extract from a file path with default settings.
list_zip
List entries in a ZIP archive from a reader.
list_zip_entries
List entries in a ZIP archive without extracting.
verify_bytes
Verify archive integrity from bytes.
verify_file
Verify archive integrity by checking CRC32 for all entries.