#snappy #bindings #github #compressor-decompressor #com-google-snappy

sys snappy_src

FFI bindings for snappy, a fast compressor/decompressor

4 releases

0.2.3+snappy.1.2.1 Jun 22, 2024
0.2.2+snappy.1.2.1 Jun 22, 2024
0.1.1 Jun 21, 2024

#316 in Compression

Download history 394/week @ 2024-06-20 65/week @ 2024-06-27 91/week @ 2024-07-04 47/week @ 2024-07-11 97/week @ 2024-07-18 140/week @ 2024-07-25 70/week @ 2024-08-01 137/week @ 2024-08-08 80/week @ 2024-08-15 299/week @ 2024-08-22 236/week @ 2024-08-29

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

MIT/Apache

130KB
2K SLoC

C++ 2K SLoC // 0.3% comments Rust 117 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–315KB