quanta 0.5.1

high-speed timing facility
Documentation
[package]
name = "quanta"
version = "0.5.1"
authors = ["Toby Lawrence <toby@nuclearfurnace.com>"]
edition = "2018"

license = "MIT"

description = "high-speed timing facility"

homepage = "https://github.com/nuclearfurnace/quanta"
repository = "https://github.com/nuclearfurnace/quanta"
documentation = "https://docs.rs/quanta"

readme = "README.md"

keywords = ["rdtsc", "timing", "nanosecond"]

[[bench]]
name = "timing"
harness = false

[features]
metrics = ["metrics-core"]

[dependencies]
metrics-core = { version = "^0.5", optional = true }

[target.'cfg(target_os = "linux")'.dependencies]
libc = "^0.2"

[target.'cfg(target_os = "macos")'.dependencies]
mach = "^0.3"

[target.'cfg(target_os = "ios")'.dependencies]
mach = "^0.3"

[target.'cfg(target_os = "windows")'.dependencies]
winapi = { version = "^0.3", features = ["profileapi"] }

[dev-dependencies]
criterion = "^0.3"
clocksource = "^0.5"