The data archiving and compression foundation of the COOLJAPAN ecosystem just leveled up again.
Today we released OxiARC 0.2.6 — a complete, production-grade reimplementation of archive and compression formats written entirely in Rust.
No C. No Fortran. No zlib. No libarchive. No external shared libraries.
No FFI overhead. No build hell.
Just clean, memory-safe, blazing-fast archiving and compression that compiles to a single static binary and runs everywhere.
Why OxiARC 0.2.6 is a game changer
For decades, handling archives and compression meant depending on battle-tested but heavy native libraries like zlib, libzip, libarchive, or 7-zip.
These tools are powerful but suffer from:
- Complex build systems and dependency hell
- Security risks from large C codebases
- Platform-specific binaries and vendor lock-in
- Difficulty in WASM, embedded, or no_std environments
- Inconsistent support for legacy formats like LZH (widely used in Japan)
OxiARC 0.2.6 ends all of that.
It delivers competitive or superior performance while being 100% memory-safe and portable.
Notable results:
- DEFLATE compression: 400 MB/s (level 1, uniform data)
- CRC-32: 3.3× faster with slicing-by-8
- CRC-64: 4.5× faster
- Bzip2 inverse transform: up to 320 MB/s
Technical Deep Dive: How We Rebuilt Archive & Compression in Pure Rust
The architecture uses a clean 4-layer design, radically optimized for modern Rust:
-
Core Layer (
oxiarc-core)
Custom BitReader/Writer, RingBuffer, and SIMD-accelerated CRC (slicing-by-8 implementation). -
Codec Layer
10 compression algorithms implemented from scratch: DEFLATE, LZMA/LZMA2, LZH (lh0–lh7), Bzip2, LZ4 (incl. HC), Zstandard, LZW, Brotli (RFC 7932), Snappy, Store. -
Archive/Container Layer (
oxiarc-archive)
12 formats: ZIP (Zip64 + async), TAR (UStar/PAX/GNU), GZIP, XZ, LZH/LHA (full Shift_JIS support), 7z (read-only), CAB (read-only), LZ4, Zstandard, Bzip2, Brotli, Snappy. -
CLI Layer (
oxiarc-cli)
Modern unified tool with progress bars, glob filtering, JSON output, shell completions, and streaming I/O.
Key Rust advantages:
- Zero-cost abstractions and static dispatch
- Full memory safety (zero unsafe in hot paths)
- Async support via
async-io(Tokio/async-std compatible) - Zero-copy streaming + metadata preservation (timestamps, permissions, xattrs)
What’s inside 0.2.6 (released March 21)
- Stability improvements and CI hardening
- Full Brotli (RFC 7932) and Snappy support (read/write)
- Enhanced async DEFLATE/GZIP streaming with flush modes
- Expanded test coverage across all formats
- Better error handling and CLI usability
- Production readiness confirmed with 1,041 passing tests across 12 crates
- ~47,300 lines of pure Rust — zero warnings, Clippy0 + fail0 enforced
This is the foundation
OxiARC is now the official archiving and compression backend for the entire COOLJAPAN scientific and media stack (total ecosystem: 21M+ SLoC Rust, 597 crates, 40+ production-grade libraries):
- OxiMedia — video/image asset packaging and distribution
- SciRS2 / NumRS2 — dataset compression and long-term storage
- OxiGDAL — geospatial file archiving
- ToRSh / OxiRAG — high-throughput data ingestion pipelines
- RusMES — mail attachment handling
- Future integration with OxiLean for formally verified compression
Repository: https://github.com/cool-japan/oxiarc
Star the repo if you want high-performance archiving and compression without the traditional native toolchain headaches.
The era of “just use zlib” or “link libarchive” is coming to an end.
Pure Rust archiving and compression is here — and it’s fast, safe, and sovereign.
— KitaSan at COOLJAPAN OÜ March 21, 2026