#snappy

sys snappy_src

FFI bindings for snappy, a fast compressor/decompressor

6 releases

0.2.5+snappy.1.2.2 Mar 26, 2025
0.2.4+snappy.1.2.1 Jan 12, 2025
0.2.3+snappy.1.2.1 Jun 22, 2024
0.1.1 Jun 21, 2024

#755 in Compression

Download history 1186/week @ 2025-12-31 2844/week @ 2026-01-07 889/week @ 2026-01-14 1256/week @ 2026-01-21 1672/week @ 2026-01-28 1259/week @ 2026-02-04 964/week @ 2026-02-11 1708/week @ 2026-02-18 2238/week @ 2026-02-25 1781/week @ 2026-03-04 1543/week @ 2026-03-11 1521/week @ 2026-03-18 1636/week @ 2026-03-25 1787/week @ 2026-04-01 3222/week @ 2026-04-08 2213/week @ 2026-04-15

9,139 downloads per month
Used in 11 crates (via blosc-src)

MIT/Apache

130KB
2K SLoC

C++ 2K SLoC // 0.3% comments Bazel 123 SLoC // 0.5% comments Rust 118 SLoC // 0.1% comments

snappy_src

Latest Version snappy_src documentation build

Raw Rust bindings to Snappy (https://github.com/google/snappy), a fast compressor/decompressor.

Bindings

This library includes a pre-generated bindings.rs file for snappy-c.h. New bindings can be generated using the bindgen feature:

cargo build --features bindgen

Licence

snappy_src is licensed under either of

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~9–360KB