100% binary-compatible drop-in replacement for bincode with zero-copy decoding, SIMD-accelerated arrays (2–4× faster), built-in LZ4/Zstd compression (powered by OxiARC), CRC32 checksums, async streaming, schema evolution, and no_std support. 513k LOC of pure Rust, 19,927 passing tests. The sovereign serialization layer for SciRS2 and the entire COOLJAPAN ecosystem.
The data serialization foundation of the COOLJAPAN scientific computing ecosystem just leveled up.
Yesterday we released OxiCode 0.2.1 — a complete, production-grade modern binary serialization library written entirely in Rust. It is the spiritual and binary successor to bincode.
No C dependencies. No unsafe code in hot paths. No Python pickle or Java serialization overhead.
Just clean, memory-safe, blazing-fast encode/decode that compiles to a single static binary (or WASM) and runs everywhere.
For years, binary serialization in Rust meant either the aging bincode crate or heavy external solutions (Protocol Buffers, MessagePack, JSON, or language-specific formats).
These tools are powerful but suffer from:
OxiCode 0.2.1 ends all of that.
It delivers 100% binary compatibility with bincode 2.0 (via config::legacy()) while adding modern Rust superpowers.
Notable results:
BorrowDecode traitThe architecture is clean, layered, and radically optimized:
Core Layer (oxicode)
Varint/fixed-width encoding, Encode/Decode/BorrowDecode traits, encoded_size API, CRC32 checksums, versioning & migration.
SIMD Acceleration
Hardware auto-detection (SSE2 → AVX2 → AVX-512) for massive array/struct packing — 2–4× speedup on supported CPUs.
Compression & Integrity (new in 0.2.1)
Full integration with OxiARC: pure-Rust LZ4 (speed) + Zstd (ratio), plus built-in decompression bomb protection.
Async & Streaming
Tokio-compatible non-blocking I/O, decode_iter_from_slice for streaming multi-item buffers.
Derive & Validation (oxicode_derive)
9 field + container attributes, constraint-based middleware, optional serde support.
Key Rust advantages:
BorrowDecode)no_std + alloc support (embedded & WASM ready)OxiCode is now the official serialization backend for the entire COOLJAPAN scientific and data stack:
Repository: https://github.com/cool-japan/oxicode
Star the repo if you want fast, safe, and future-proof binary serialization without the old bincode limitations.
The era of “just use bincode and hope” or “add another C dependency” is over.
Pure Rust modern serialization is here — fast, compatible, and sovereign.
— KitaSan at COOLJAPAN OÜ March 16, 2026