A tokio-based tar archive reader and writer.
This crate is a fork of edera-dev/tokio-tar,
which was a fork of vorot93/tokio-tar,
which was a fork of dignifiedquire/async-tar,
which is based on alexcrichton/tar-rs.
As compared to the async tar crates, this crate includes a variety of performance improvements
and missing patches from alexcrichton/tar-rs.
As compared to alexcrichton/tar-rs, this crate features
the following modifications:
- Setting
preserve_permissionstofalsewill avoid setting any permissions on extracted files. Inalexcrichton/tar-rs, settingpreserve_permissionstofalsewill still set read, write, and execute permissions on extracted files, but will avoid setting extended permissions (e.g.,setuid,setgid, andstickybits). - Setting
allow_external_symlinkstofalsewill avoid extracting symlinks that point outside the unpack target. Operations that write outside the unpack directory are always denied; but by default, symlinks that read outside the unpack directory are allowed.
See the changelog for a more detailed list of changes.
This project is licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.