aubio_sys/lib.rs
1/*!
2# Unsafe _aubio_ library bindings
3
4[](https://github.com/katyo/aubio-rs)
5[](https://crates.io/crates/aubio-sys)
6[](https://docs.rs/aubio-sys)
7[](https://opensource.org/licenses/GPL-3.0)
8[](https://github.com/katyo/aubio-rs/actions?query=workflow%3ARust)
9
10This crate provides generated unsafe Rust bindings to [_aubio_](https://github.com/aubio/aubio) C library.
11
12Probably this isn't that you really need. See [safe bindings](https://crates.io/crates/aubio-rs).
13 */
14
15#![allow(
16 non_upper_case_globals,
17 non_camel_case_types,
18 non_snake_case,
19 clippy::redundant_static_lifetimes // TODO: Remove later when bindgen resolve this issue
20)]
21#![cfg_attr(test, allow(deref_nullptr))]
22
23#[cfg(feature = "bindgen")]
24include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
25
26#[cfg(not(feature = "bindgen"))]
27include!(concat!("bindings/", env!("AUBIO_BINDINGS")));