GitHunt

Box - Open Standard Archive Format

Actions Status

โš ๏ธBox is under active development. Do not expect compatibility between versions until v1.0.

The .box file format and related tooling is designed to be a modern successor to formats such as
.zip and .7z, removing several painpoints and introducing modern features and expectations.

Crates

Crate Description
box-format (this crate) Core library for reading and writing .box archives
cli Command line tool for working with .box archives
fusebox FUSE driver for mounting archives (Linux/macOS)
projfsbox Windows ProjFS driver for mounting archives
fskitbox macOS FSKit driver for mounting archives (macOS 15.4+)

Features

๐ŸŒ‰Cross-platform path support, with relative paths only and platform-agnostic separators
๐ŸŒUTF-8 only, Unicode normalised path names and string data
๐Ÿ‘ฉโ€๐Ÿš€Extensible with space-efficient attributes in key-value pairs for records and whole archives
โ†”๏ธConfigurable optional byte-alignment of files to enable easy memory mapping
๐Ÿ’ฝFST-based path index for fast O(m) lookups and efficient prefix queries
๐Ÿ“Support for directories, files and links
๐Ÿ—œ๏ธMultiple compression methods within a single archive
๐Ÿ”’BLAKE3 checksums for data integrity verification
๐Ÿ–ฅ๏ธA truly cross-platform command line tool
๐Ÿ“œWell-defined, open specification of file format

Compression methods

  • Stored (no compression)
  • Brotli
  • DEFLATE
  • Snappy
  • xz
  • Zstandard

Supported platforms

  • Windows
  • macOS
  • Linux
  • iOS
  • Android

License

Licensed under either of

at your option.

Languages

Rust92.7%Typst4.3%C2.0%CSS0.8%Makefile0.1%Objective-C0.1%Swift0.0%

Contributors

Apache License 2.0
Created September 2, 2019
Updated February 6, 2026