#snappy #bindings #compressor-decompressor

sys snappy_src

FFI bindings for snappy, a fast compressor/decompressor

6 releases

new 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

#375 in Compression

Download history 705/week @ 2024-12-09 95/week @ 2024-12-16 183/week @ 2024-12-23 130/week @ 2024-12-30 485/week @ 2025-01-06 568/week @ 2025-01-13 271/week @ 2025-01-20 154/week @ 2025-01-27 358/week @ 2025-02-03 244/week @ 2025-02-10 264/week @ 2025-02-17 176/week @ 2025-02-24 176/week @ 2025-03-03 290/week @ 2025-03-10 266/week @ 2025-03-17 286/week @ 2025-03-24

1,051 downloads per month
Used in 3 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–410KB