portable-network-archive

Crates.ioportable-network-archive
lib.rsportable-network-archive
version0.30.2
created_at2023-03-06 06:28:31.053544+00
updated_at2026-01-18 05:23:46.04573+00
descriptionPortable-Network-Archive cli
homepage
repositoryhttps://github.com/ChanTsune/Portable-Network-Archive.git
max_upload_size
id802197
size1,462,266
(ChanTsune)

documentation

README

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.

Commit count: 3378

cargo fmt