[package] name = "native-timer" authors = ["Ruxo Zheng "] version = "0.5.2" edition = "2021" description = "Timer library which uses OS timer capabilities." license = "MIT" readme = "README.md" homepage = "https://docs.rs/native-timer" documentation = "https://docs.rs/native-timer" repository = "https://github.com/ruxo/native-timer" keywords = ["native", "timer", "schedule"] categories = ["concurrency", "os::windows-apis", "os::unix-apis"] [features] default = ["tracker"] tracker = [] [dependencies] sync-wait-object = "0.2" parking_lot = "0.12" [target.'cfg(unix)'.dependencies] libc = "0.2" [target.'cfg(windows)'.dependencies.windows] version = "0.44" features = [ "Win32_Foundation", "Win32_System_Threading", "Win32_Security", "Win32_System_WindowsProgramming" ] [[example]] name = "simple" path = "src/examples/simple.rs"