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

#294 in Compression

Download history 37/week @ 2024-10-09 126/week @ 2024-10-16 131/week @ 2024-10-23 212/week @ 2024-10-30 140/week @ 2024-11-06 415/week @ 2024-11-13 362/week @ 2024-11-20 284/week @ 2024-11-27 501/week @ 2024-12-04 446/week @ 2024-12-11 148/week @ 2024-12-18 94/week @ 2024-12-25 162/week @ 2025-01-01 602/week @ 2025-01-08 484/week @ 2025-01-15 208/week @ 2025-01-22

1,466 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