A modern archive format for Unix, implemented in Rust
Go to file
2023-12-30 23:40:57 -05:00
src Add print_color for archive listings, format dates in archive listings 2023-12-30 23:40:57 -05:00
test Add "node::extract" test; Remove test objects from git; 2023-10-28 19:10:10 -04:00
.gitignore Add "node::extract" test; Remove test objects from git; 2023-10-28 19:10:10 -04:00
Cargo.lock Add print_color for archive listings, format dates in archive listings 2023-12-30 23:40:57 -05:00
Cargo.toml Add print_color for archive listings, format dates in archive listings 2023-12-30 23:40:57 -05:00
Format.md Partial port to new spec revision (won't compile yet); 2023-07-15 11:36:21 -04:00
LICENSE.md Add BSD license 2023-07-04 01:30:11 -04:00
README.md Add space in between description and contents heading in README 2023-07-04 21:08:30 -04:00

A modern archive format for serializing files, like Tar or Zip

Contents

Features

For a more full specification of the format, please see Format.md

  • No padding between metadata fields or data segments so it only stores the data required to recreate the original file
  • Optional inline checksumming using a choice of md5, sha1 or sha256 algorithms to ensure data integrity
  • Easily parallelized library code
  • Uses generic Read and Write interfaces from Rust std to support reading archive nodes from anything that can supply a stream of data

Building

The minimum supported Rust version (MSRV) for this project is currently Rust 1.65. The crate can be added to your project by adding it to your Cargo.toml file. Until the api is more mature you will have to use the crate from it's git repository rather than from the crates.io package registry.

[dependencies.haggis]
git = "https://codeberg.org/jeang3nie/haggis.git"

Contributing

Contributions are always welcome. Please run cargo fmt and cargo clippy and fix any issues before sending pull requests on Codeberg or patches via git send-email.

In addition to contributing to the Rust implementation here, it would be welcome to see Haggis implemented in other languages.