openzl_sys/
lib.rs

1//! # openzl-sys
2//!
3//! Raw Rust bindings to OpenZL (<https://github.com/facebook/openzl>), a novel data compression framework.
4//!
5//! ## Bindings
6//! This library includes a pre-generated `bindings.rs` file for `openzl.h`. New bindings can be generated using the bindgen feature:
7//! ```bash
8//! cargo build --features bindgen
9//! ```
10//!
11//! ## Licence
12//! `openzl-sys` is licensed under either of
13//!  - the Apache License, Version 2.0 [LICENSE-APACHE](./LICENCE-APACHE) or <http://www.apache.org/licenses/LICENSE-2.0> or
14//!  - the MIT license [LICENSE-MIT](./LICENCE-MIT) or <http://opensource.org/licenses/MIT>, at your option.
15//!
16//! 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.
17
18#![allow(non_upper_case_globals)]
19#![allow(non_camel_case_types)]
20#![allow(non_snake_case)]
21#![allow(rustdoc::broken_intra_doc_links)]
22
23extern crate zstd_sys;
24
25include!(concat!(env!("CARGO_MANIFEST_DIR"), "/bindings.rs"));