Tins · Primitives

zstd

A Mojo binding to libzstd — one-shot and streaming, both directions — through a small C shim loaded at runtime, so consumers need no link flags.

Install
pixi shelf add zstd-mojo
Version

0.1.5 on mojoshelf

What it does

Works today

  • One-shot and streaming compress and decompress
  • Frame introspection: is_zstd_frame, frame_content_size
  • The shim is dlopen'd once, not per call

Correctness

Checked against Python zstandard, against independently produced frames baked in as constants

Also in Primitives