[dependencies.bitflags]
version = "2.9"
[dependencies.derive-new]
version = "0.7"
[dependencies.ioctls]
version = "0.6"
[dependencies.libc]
features = ["extra_traits", "align", "const-extern-fn"]
version = "0.2"
[dependencies.log]
features = ["std"]
version = "0"
[dependencies.rand]
optional = true
version = "0.9"
[dev-dependencies.rstest]
version = "0.26"
[dev-dependencies.test-log]
features = ["trace"]
version = "0.2"
[features]
default = ["random", "semaphore"]
random = ["dep:rand"]
semaphore = []
unstable = ["unstable_mutex"]
unstable_mutex = []
[lib]
name = "ntsync"
path = "src/lib.rs"
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "An simple crate for using the new ntsync linux driver with rust."
documentation = "https://docs.rs/ntsync"
edition = "2024"
license = "LGPL-3.0-only"
name = "ntsync"
readme = "README.md"
repository = "https://github.com/stop5/ntsync"
version = "0.1.4"
[package.metadata.docs.rs]
features = ["unstable", "default"]
[[test]]
name = "simple"
path = "tests/simple.rs"
[[test]]
name = "threaded_mutex"
path = "tests/threaded_mutex.rs"