#symbol-table #fsst #string #database #lz4 #system #zero-dependency

fsst-rs

Pure-Rust implementation of Fast Static Symbol Tables algorithm for string compression

14 releases (5 breaking)

new 0.5.1 Mar 12, 2025
0.4.4 Dec 30, 2024
0.4.3 Oct 3, 2024

#338 in Compression

Download history 1430/week @ 2024-11-19 584/week @ 2024-11-26 1180/week @ 2024-12-03 867/week @ 2024-12-10 1178/week @ 2024-12-17 650/week @ 2024-12-24 1189/week @ 2024-12-31 1996/week @ 2025-01-07 2450/week @ 2025-01-14 1739/week @ 2025-01-21 2940/week @ 2025-01-28 1860/week @ 2025-02-04 521/week @ 2025-02-11 630/week @ 2025-02-18 556/week @ 2025-02-25 1056/week @ 2025-03-04

2,972 downloads per month
Used in 4 crates (2 directly)

Apache-2.0

240KB
942 lines

Crates.io Version docs.rs GitHub Actions Workflow Status

fsst-rs

A pure-Rust, zero-dependency implementation of the FSST string compression algorithm.

FSST is a string compression algorithm meant for use in database systems. It was designed by Peter Boncz, Thomas Neumann, and Viktor Leis. It provides 1-3GB/sec compression and decompression of strings at compression rates competitive with or better than LZ4.

This implementation is somewhat inspired by the MIT-licensed implementation from the paper authors, written in C++, but it is mostly written from a careful reading of the paper.

NOTE: This current implementation is still in-progress and is not production ready, please use at your own risk.

NOTE: This crate only works on little-endian architectures currently. There are no current plans to support big-endian targets.

No runtime deps