Crate portable_network_archive

Crate portable_network_archive 

Source
Expand description

§Portable Network Archive

test Crates.io docs.rs

PNA (Portable Network Archive) is a highly scalable archive format that can be compressed, encrypted, and split. Also, its data structure is inspired by the PNG data structure.

§Installation

§Via Shell (Prebuilt Binary)

§On Linux or macOS
curl --proto '=https' --tlsv1.2 -LsSf 'https://github.com/ChanTsune/Portable-Network-Archive/releases/latest/download/portable-network-archive-installer.sh' | sh
§On Windows
powershell -ExecutionPolicy Bypass -c "irm https://github.com/ChanTsune/Portable-Network-Archive/releases/latest/download/portable-network-archive-installer.ps1 | iex"

§Via Cargo

cargo install portable-network-archive

§From Source (via Cargo)

cargo install --git https://github.com/ChanTsune/Portable-Network-Archive.git portable-network-archive

§Usage

Note on archive argument style

  • The positional archive argument <ARCHIVE> is deprecated since version 0.28.0. Use -f/--file <ARCHIVE> instead. The positional form is still accepted for backward compatibility and will emit a warning. It will be removed in a future release.

§Creating an Archive

pna create -f <ARCHIVE> [FILES]...

§Extracting an Archive

pna extract -f <ARCHIVE>

§Listing Archived Entries

pna list -f <ARCHIVE>

Use the following command to get help.

pna --help

§License

This project is licensed under either of

at your option.

§Contribution

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.

Modules§

cli
command