[package]
name = "heim-memory"
version = "0.1.0-alpha.1"
authors = ["svartalf <self@svartalf.info>"]
edition = "2018"
description = "Cross-platform memory information"
keywords = ["heim", "system", "memory", "swap"]
categories = ["asynchronous", "os", "api-bindings"]
repository = "https://github.com/heim-rs/heim"
readme = "README.md"
license = "Apache-2.0 OR MIT"
[dependencies]
heim-common = { version = "0.1.0-alpha.1", path = "../heim-common" }
heim-runtime = { version = "0.1.0-alpha.1", path = "../heim-runtime" }
cfg-if = "~0.1"
[target.'cfg(target_os = "windows")'.dependencies]
libc = "~0.2"
winapi = { version = ">=0.3.8", default-features = false, features = ["minwindef", "sysinfoapi"] }
[target.'cfg(target_os = "macos")'.dependencies]
libc = "~0.2"
mach = "0.3.2"
lazy_static = "1.3.0"
[dev-dependencies]
heim-derive = { version = "0.1.0-alpha.1", path = "../heim-derive" }
futures-executor = "^0.3"
tokio = { version = "^0.2", features = ["rt-threaded"] }
async-std = "^1.5"
version-sync = "0.8"
[features]
default = ["heim-runtime/runtime-polyfill"]
[package.metadata.docs.rs]
rustdoc-args = ["--cfg", "docsrs"]