ntsync 0.4.0

An simple crate for using the new ntsync linux driver with rust.
Documentation
1
2
3
4
5
6
7
8
9
10
use cfg_aliases::cfg_aliases;

fn main() {
    cfg_aliases! {
        mutex: { all(target_os = "linux", feature = "mutex") },
        random: {all(target_os = "linux", feature = "random")},
        semaphore: {all(target_os = "linux", feature = "semaphore")},
        not_linux: { not(target_os="linux")},
    }
}