utf8proc-sys 0.1.2

Unsafe rust bindings to the utf8proc library
Documentation
1
2
3
4
5
6
7
8
9
10
11
pub fn main() {
    // we don't need make/cmake to build this
    // run `make -n` to see commands needed to build
    // there is only a single file
    let mut build = cc::Build::new();
    build.define("UTF8PROC_EXPORTS", None);
    build.file("utf8proc/utf8proc.c");
    build.compile("utf8proc");

    println!("cargo:rerun-if-changed=utf8proc");
}