1#![doc = include_str!("../README.md")]
2#![allow(non_upper_case_globals)]
3#![allow(non_camel_case_types)]
4#![allow(non_snake_case)]
5
6#[cfg(all(feature = "use-bindgen", not(docsrs)))]
7include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
8
9cfg_if::cfg_if! {
10 if #[cfg(any(not(feature = "use-bindgen"), docsrs))] {
11 mod bindings;
12 pub use bindings::*;
13 }
14}
15
16#[cfg(all(test, feature = "use-bindgen", not(docsrs)))]
17mod linker_test {
18 include!(concat!(env!("OUT_DIR"), "/linker_test.rs"));
19}