5 releases

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

#321 in Compression

Download history 571/week @ 2024-11-15 241/week @ 2024-11-22 246/week @ 2024-11-29 631/week @ 2024-12-06 306/week @ 2024-12-13 156/week @ 2024-12-20 93/week @ 2024-12-27 267/week @ 2025-01-03 588/week @ 2025-01-10 544/week @ 2025-01-17 100/week @ 2025-01-24 303/week @ 2025-01-31 275/week @ 2025-02-07 285/week @ 2025-02-14 201/week @ 2025-02-21 123/week @ 2025-02-28

906 downloads per month
Used in 3 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

~9–445KB