-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Cargo.toml
36 lines (31 loc) · 866 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
[package]
name = "howlong"
version = "0.1.7"
authors = ["Cheng XU <[email protected]>"]
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",
]
[target.'cfg(unix)'.build-dependencies]
cc = "1.0"
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.build-dependencies]
bindgen = "0.59"