[package] name = "howlong" version = "0.1.7" authors = ["Cheng XU "] edition = "2018" build = "build.rs" license = "MIT OR Apache-2.0" description = "Measure how long it takes for a program to execute in different clocks" repository = "https://github.com/xu-cheng/howlong" documentation = "https://docs.rs/howlong" readme = "README.md" keywords = ["timer", "chrono"] categories = ["development-tools", "development-tools::profiling"] [dependencies] thiserror = "1.0" cfg-if = "1.0" [target.'cfg(unix)'.dependencies] errno = "0.2" libc = "0.2" [target.'cfg(windows)'.dependencies.winapi] version = "0.3" features = [ "errhandlingapi", "processthreadsapi", "profileapi", "sysinfoapi", ] [dev-dependencies] criterion = "0.3" [target.'cfg(unix)'.build-dependencies] cc = "1.0" [target.'cfg(any(target_os = "macos", target_os = "ios"))'.build-dependencies] bindgen = "0.58"