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

#307 in Compression

Download history 179/week @ 2024-10-26 181/week @ 2024-11-02 181/week @ 2024-11-09 600/week @ 2024-11-16 176/week @ 2024-11-23 308/week @ 2024-11-30 690/week @ 2024-12-07 149/week @ 2024-12-14 144/week @ 2024-12-21 118/week @ 2024-12-28 251/week @ 2025-01-04 683/week @ 2025-01-11 452/week @ 2025-01-18 106/week @ 2025-01-25 345/week @ 2025-02-01 251/week @ 2025-02-08

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

~8–445KB