mysqlclient-sys 0.5.1

Auto-generated rust bindings for libmysqlclient
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// if you update this command you also need to update the
// command in `bindings/generate_bindings.sh`

bindgen::Builder::default()
// The input header we would like to generate
// bindings for.
    .header("bindings/wrapper.h")
    .allowlist_function("mysql.*")
    .allowlist_function("mariadb.*")
    .allowlist_type("MYSQL.*")
    .allowlist_type("MARIADB.*")
    .allowlist_type("mysql.*")
    .allowlist_type("mariadb.*")
    .allowlist_var("MYSQL.*")
    .allowlist_var("MARIADB.*")
    .default_enum_style(bindgen::EnumVariation::Rust {
        non_exhaustive: true,
    })