safe_unzip 0.1.5

Secure zip extraction. Prevents Zip Slip and Zip Bombs.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Archive format adapters.
//!
//! Adapters normalize different archive formats into a common interface
//! for the extraction engine.

#[cfg(feature = "tar")]
mod tar_adapter;
mod zip_adapter;

#[cfg(feature = "sevenz")]
mod sevenz_adapter;

#[cfg(feature = "tar")]
pub use tar_adapter::{copy_limited, TarAdapter};
pub use zip_adapter::ZipAdapter;

#[cfg(feature = "sevenz")]
pub use sevenz_adapter::SevenZAdapter;