1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#![doc = include_str!("../README.md")]
#![allow(non_upper_case_globals, non_camel_case_types, non_snake_case)]
#![allow(clippy::missing_safety_doc, clippy::too_many_arguments)]

#[cfg(feature = "bindgen")]
include!(concat!(env!("OUT_DIR"), "/bindings.rs"));

#[cfg(not(feature = "bindgen"))]
include!(concat!("bindings/", env!("MSDFGEN_BINDINGS")));

#[cfg(test)]
mod test {
    use super::*;

    #[test]
    fn version() {
        assert_eq!(MSDFGEN_VERSION, b"1.9\0");
    }
}