mysql_client_bindings_rs/
lib.rs

1#![allow(non_camel_case_types, non_snake_case, improper_ctypes, non_upper_case_globals)]
2
3#[cfg(any(
4    all(not(feature = "mysql"), not(feature = "mariadb")),
5    all(feature = "mysql", feature = "mariadb")
6))]
7compile_error!("Exactly one and the only one of the features must be enabled: `mariadb` OR `mysql`");
8
9#[cfg(all(feature = "mysql", not(feature = "mariadb")))]
10include!(concat!(env!("CARGO_MANIFEST_DIR"), "/src/mysql.rs"));
11
12#[cfg(all(feature = "mariadb", not(feature = "mysql")))]
13include!(concat!(env!("CARGO_MANIFEST_DIR"), "/src/mariadb.rs"));