ntsync 0.3.0

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

#[fixture]
pub fn instance() -> NtSync {
    match NtSync::new() {
        Err(error) => {
            panic!("Failed to open Device: {error}")
        },
        Ok(ntsync) => ntsync,
    }
}