ZAR is a Rust-based archive format and toolset intended as a modern alternative to TAR, ZIP, and 7z, combining fast parallel Zstandard compression with random access, deduplication, and versioned history. Files can be added or removed in later commits, preserving earlier archive states until commits are deleted or the archive is compacted. The command-line tool and desktop manager support creating, browsing, searching, testing, converting, and restoring archives; related components provide a reusable library, language bindings for several languages, network file copying, read-only FUSE mounting, and tools for AI clients. ZAR can also import or extract a range of common archive formats, with stated limits on unsupported encrypted archives, links, and special entries.
The design emphasizes security and integrity: AES-256-GCM or ChaCha20-Poly1305 encryption with Argon2id, configurable encryption scope and per-commit passwords, checksummed blocks, damage scanning, and extraction protections against path traversal. The project reports a benchmark in which creating a 525 MiB Linux source archive took about one second and extracting it under one second on a particular machine; 7z produced a smaller file but took roughly 27 seconds to create. These are single-run, machine- and cache-dependent results, not universal performance claims. ZAR’s history, random access, and broad integration options distinguish it from conventional archive formats, though its advantages should be weighed against its own format’s compatibility and the documented feature limitations.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.