rl_localtime 0.1.1

Rust-locked localtime - a sound localtime implementation
Documentation
1
2
3
4
5
6
7
8
9
fn main() {
    cc::Build::new()
        .file("c_lib/localtime.c")
        // tm_zone has undocumented lifetime so better turn it off
        .define("NO_TM_ZONE", None)
        .define("STD_INSPIRED", None)
        .warnings(std::env::var_os("RL_LOCALTIME_WARN").is_some())
        .compile("rllocaltime");
}