5 releases

new 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

#303 in Compression

Download history 311/week @ 2024-09-22 148/week @ 2024-09-29 69/week @ 2024-10-06 82/week @ 2024-10-13 115/week @ 2024-10-20 201/week @ 2024-10-27 164/week @ 2024-11-03 192/week @ 2024-11-10 630/week @ 2024-11-17 137/week @ 2024-11-24 356/week @ 2024-12-01 680/week @ 2024-12-08 125/week @ 2024-12-15 147/week @ 2024-12-22 117/week @ 2024-12-29 275/week @ 2025-01-05

725 downloads per month
Used in 2 crates (via blosc-src)

MIT/Apache

130KB
2K SLoC

C++ 2K SLoC // 0.3% comments Rust 118 SLoC // 0.1% comments Bazel 101 SLoC // 0.5% 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

~8–440KB