[package]
name = "heim-cpu"
version = "0.0.11"
authors = ["svartalf <self@svartalf.info>"]
edition = "2018"
description = "Cross-platform CPU information"
keywords = ["heim", "system", "cpu", "frequency", "time"]
categories = ["asynchronous", "os", "api-bindings"]
repository = "https://github.com/heim-rs/heim"
readme = "README.md"
license = "Apache-2.0 OR MIT"
[badges]
maintenance = { status = "experimental" }
azure-devops = { project = "heim-rs/heim", pipeline = "heim-rs.heim" }
[dependencies]
heim-common = { version = "0.0.11", path = "../heim-common" }
heim-runtime = { version = "0.0.7", path = "../heim-runtime" }
lazy_static = "1.3.0"
cfg-if = "0.1.7"
[target.'cfg(target_os = "linux")'.dependencies]
libc = "~0.2"
[target.'cfg(target_os = "windows")'.dependencies.winapi]
version = ">=0.3.8"
features = [
"powerbase",
"sysinfoapi",
"minwindef",
"winnt",
"winerror",
"processthreadsapi",
"impl-default",
"winbase",
]
[target.'cfg(target_os = "macos")'.dependencies]
libc = "~ 0.2"
mach = "0.3.2"
[dev-dependencies]
heim-derive = { version = "0.0.10", path = "../heim-derive" }
futures-executor = "^0.3"
version-sync = "0.8"
[features]
runtime-polyfill = ["heim-runtime/runtime-polyfill"]