simdutf 0.3.0

Unicode validation and transcoding at billions of characters per second
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
fn main() {
    let mut cc = cc::Build::new();

    cc.cpp(true).file("cpp/simdutfrs.cpp");

    if cfg!(all(windows, target_env = "msvc")) {
        cc.flag("/std:c++11");
    } else {
        cc.flag("-std=c++11");
    }

    cc.compile("simdutfrs");
}