-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathCargo.toml
36 lines (26 loc) · 905 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 = "clocksource"
version = "0.5.1-alpha.0"
authors = ["Brian Martin <[email protected]>"]
license = "MIT OR Apache-2.0"
readme = "README.md"
homepage = "https://github.com/brayniac/clocksource"
documentation = "https://docs.rs/clocksource"
repository = "https://github.com/brayniac/clocksource"
description = "clocksource provides TSC access with transparent fallback to clock_gettime()"
keywords = [ "clock", "time" ]
[dependencies]
libc = "0.2.15"
[target.'cfg(windows)'.dependencies]
lazy_static = "1.0"
winapi = { version = "0.3.4", features = ["profileapi", "sysinfoapi"] }
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies]
mach = "0.3"
[target.'cfg(all(not(windows), not(unix), not(target_os = "macos"), not(target_os = "ios")))'.dependencies]
lazy_static = "1.0"
[dev-dependencies]
allan = "0.2.3"
[features]
default = []
asm = [ "rdtsc" ]
rdtsc = []