zstd-sys-rs 1.5.15

Rust bindings to statically linked zstd v1.5.7, with a safe zero-copy (de)compress API
Documentation
1
2
3
4
5
6
7
8
9
10
// src/lib.rs
#![allow(non_camel_case_types, non_snake_case, non_upper_case_globals)]

include!(concat!(env!("OUT_DIR"), "/bindings.rs"));

mod safe;
pub use safe::{
    compress, compress_bound, decompress, decompress_into, frame_content_size, Decompressor, Error,
    Result,
};