Rust Rewrite Index

libarchive

Multi-format archive and compression library (shared library)

Rust efforts

Research record · 2026-11-29

Searched libarchive ABI-compatible Rust ports, multi-format archive code, Bun tar replacement and Rust bindings. SafeLibs documents a direct experimental port; Bun replaced only the tar/gzip functionality it used, while libarchive2 wraps the original C library.

Original source check. The packaged source scan found zero files with the .rs suffix. This covers the Debian 13 snapshot and excludes common vendor directories. Independent repositories are outside this count.

Partial rewrite

SafeLibs libarchive

Experimental Rust port targeting Ubuntu 24.04 libarchive and its C ABI. SafeLibs reports a test stage but says generated ports have not been human-audited; broader correctness and compatibility are not established.

Evidence checked 2026-11-29
Rust component

Bun tar reader/writer

Rust replacement for Bun’s specific tar and gzip-container use of libarchive; it is not a port of all libarchive formats or its C ABI.

Evidence checked 2026-11-29

Project structure

The libarchive library provides a flexible interface for reading and writing archives in various formats such as tar and cpio. libarchive also supports reading and writing archives compressed using various compression filters such as gzip and bzip2. The library is inherently stream-oriented; readers serially iterate through the archive, writers serially add things to the archive.

Inside the source tree

Source files by extension in this snapshot · C (602), C++ (1)

Selected components packaged from this source in Debian 13.

  • libarchive13t64 · Multi-format archive and compression library (shared library)
  • libarchive-tools · FreeBSD implementations of 'tar' and 'cpio' and other archive tools
  • libarchive-dev · Multi-format archive and compression library (development files)

Source record

Debian snapshot version
3.7.4-4+deb13u1

More in this category

Libraries & formats

How statuses are assigned