#archive #txtar #fs

nightly bin+lib rtxtar

rust implementation of the txtar format

1 unstable release

new 0.1.0 Jan 11, 2025

#309 in Testing

Download history 146/week @ 2025-01-08

146 downloads per month

MIT license

10KB
193 lines

rtxtar: rust txtar implementation

This package provides a library and command line tool for working with the txtar format, originally described by the Go package of the same name

Unlike the txtar crate, this library allows iterating over the contained files without extracting them.

However, the main focus of this package is on the command line utility.

rtxtar has 3 subcommands:

rtxtar create

Takes a list of files as arguments and prints a txtar archive containing those files to stdout.

rtxtar extract

Reads a txtar archive from stdin and extracts it to the current dir.

rtxtar list

Reads a txtar archive from stdin and prints a list of all the files within it to stdout.


lib.rs:

implementation of the txtar format.

origninally described by the golang tool of the same name

all text files are a valid txtar archive, there are no syntax errors.

Dependencies

~250KB