#archive #reader #archive-reader

hrx-get

Reader for Human Readable Archive (.hrx) data

6 releases

0.2.2 Feb 24, 2025
0.2.0 Feb 1, 2022
0.1.4 May 8, 2021
0.1.2 Jul 15, 2019
0.1.1 Feb 15, 2019

#553 in Filesystem

Download history 2934/week @ 2025-04-23 1080/week @ 2025-04-30 1986/week @ 2025-05-07 7560/week @ 2025-05-14 1270/week @ 2025-05-21 92/week @ 2025-05-28 328/week @ 2025-06-04 2061/week @ 2025-06-11 3285/week @ 2025-06-18 1499/week @ 2025-06-25 1014/week @ 2025-07-02 611/week @ 2025-07-09 788/week @ 2025-07-16 386/week @ 2025-07-23 406/week @ 2025-07-30 29/week @ 2025-08-06

1,613 downloads per month

MIT/Apache

7KB
88 lines

hrx-get

The Human Readable Achive format specification lives at https://github.com/google/hrx.

This crate only supports reading .hrx data.


lib.rs:

Implement simple reading of Human Readable Archive (.hrx) data.

The Human Readable Achive format specification lives at https://github.com/google/hrx.

This crate only supports reading .hrx data.

Example

let archive = hrx_get::Archive::parse(
    "<===> one.txt\n\
     Content of one text file\n\
     <===>\n\
     This is a comment\n\
     <===> subdir/file.txt\n\
     Contents of a file in a subdir.\n\
     <===>\n"
)?;
assert_eq!(archive.get("one.txt"), Some("Content of one text file"));

No runtime deps