This repository was archived by the owner on Nov 22, 2026. It is now read-only.
Repository navigation
Releases
Releases · amarbaro/mojo-zstd
mojo-zstd v0.1.1
mojo-zstd v0.1.1
Released: 2026-11-08 · Commit: cc7ebbd · Previous: v0.1.0
What it does
zstd and lz4 frame compression for Mojo through the system libzstd and liblz4: one-shot
compress/decompress, and streaming zstd files or buffers through a 128 KiB window.
Highlights
- Packaging only: the conda recipe pins
mojo-compilerto the minor the package was built with (<1.3.0a0), so it cannot be installed on a Mojo it does not load on.
Changes
Changed
recipe.yaml:mojo-compilerrun dependency pinned to the build's minor (<1.3.0a0).
Verified
| Check | Result |
|---|---|
pkg-conda dry run on the version commit (H1-H3,H6) |
PASS: mojo-zstd-0.1.1-hb0f4dca_0.conda |
Known limits
- Packages are built on one Mojo minor only; see the package protocol.
Upgrade / run
None: no API change.
Commits
cc7ebbdbuild: bump version to 0.1.14bf4502build: recipe pins mojo-compiler to the build's minor27bb85dchore(license): fill Apache-2.0 copyright notice
mojo-zstd v0.1.0
mojo-zstd v0.1.0
Released: 2026-11-04 · Commit: 83246af · Previous: first release
What it does
zstd and lz4 frame compression for Mojo through the system libzstd and liblz4: one-shot
compress/decompress, and streaming zstd files or buffers through a 128 KiB window.
Highlights
- Parity with Python on the same C libraries: zstd level 3 on 32 MiB text, compress 61 to 63 ms (Python 61 to 66), decompress 34 to 36 ms (Python 38 to 42).
- Streaming 128 MiB through
ZstdWriter/ZstdReaderpeaks at 13.7 MB RSS, the same as 1 MiB. - Corrupt, truncated or trailing input raises
zstd: .../lz4: ..., never a crash.
Changes
First release, no earlier version.
Verified
| Check | Result |
|---|---|
scripts/ci.sh (check.sh): 24075 verdicts identical to tools/oracle.py (10851 corrupt inputs rejected by both), 13224 outputs byte-identical, 3 planted bugs rejected, streaming RSS, API errors, example |
PASS all |
Known limits
- Parity, not a faster codec: the same C libraries do the work. One zstd compress run read 179 ms, a noisy outlier.
- Linux; needs
libzstd.so.1andliblz4.so.1. No dictionaries, no threads, no lz4 block format.
Upgrade / run
mojo run -I src app.mojo
Commits
83246afci: badge row and checks badgeb228aabdocs(skills): add mojo-zstd skill7b39bb6build: conda recipefd9ead1docs: one example, one install blocka5b2321build: one conda package carries lz4 and zstde9ff67echore: ignore .claude (ephemeral skill symlinks)6a5a725test: gate fails when the README example drifts from examples/quickstart.mojod1b5cbadocs: README, changelog, api, design and perf notes4310748test: oracle gate against Python zstandard and lz4, with negative control1ef6e98feat: zstd and lz4 frame codecs through the system libzstd and liblz4