[package] name = "memonitor" description = "Query CPU and GPU memory information in a portable way." version = "0.2.4" authors = ["Pedro Valente "] license = "Apache-2.0" repository = "https://github.com/edgenai/memonitor" readme = "../../README.md" edition = "2021" publish = true [dependencies] memonitor-sys = { path = "../memonitor-sys", version = "0.2.4", default-features = false } once_cell = "1.19.0" sysinfo = "0.30.10" tracing = "0.1.40" [build-dependencies] cfg_aliases = { workspace = true } [dev-dependencies] tracing-subscriber = { version = "0.3.18", features = ["env-filter"] } [features] default = ["vulkan", "cuda"] vulkan = ["memonitor-sys/vulkan"] cuda = ["memonitor-sys/cuda"]