Ruby bindings (via Rust/magnus) for the Zstandard compressor with persistent ZSTD_CCtx / ZSTD_DCtx contexts that are reused across calls. Provides Zstd frame compress/decompress at module level and a stateful Dictionary class for dict-bound compression. Designed to be safe to call from multiple Ractors and competitive with rlz4 on small messages, where per-call context allocation in zstd-ruby dominates the cost.
Required Ruby Version
>= 4.0.0
Authors
Patrik Wenger
Versions
-
0.4.0
-
source
- 0.4.0 source May 04, 2026 (17.5 KB)
-
-
0.3.0
-
source
- 0.3.0 source April 15, 2026 (16.5 KB)
-
-
0.2.0
-
source
- 0.2.0 source April 13, 2026 (16 KB)
-
-
0.1.0
-
source
- 0.1.0 source April 13, 2026 (15 KB)
-