1
2
3
4
5
6
7
8
9
10
11
12
13
#![allow(
    non_upper_case_globals,
    non_camel_case_types,
    non_snake_case,
    // Silence "128-bit integers don't currently have a known stable ABI" warnings
    improper_ctypes,
    // Silence "constants have by default a `'static` lifetime" clippy warnings
    clippy::redundant_static_lifetimes,
    // https://github.com/rust-lang/rust-bindgen/issues/1651
    deref_nullptr,
)]

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