# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "memonitor" version = "0.2.4" authors = ["Pedro Valente "] publish = true description = "Query CPU and GPU memory information in a portable way." readme = "README.md" license = "Apache-2.0" repository = "https://github.com/edgenai/memonitor" [dependencies.memonitor-sys] version = "0.2.4" default-features = false [dependencies.once_cell] version = "1.19.0" [dependencies.sysinfo] version = "0.30.10" [dependencies.tracing] version = "0.1.40" [dev-dependencies.tracing-subscriber] version = "0.3.18" features = ["env-filter"] [build-dependencies.cfg_aliases] version = "0.2.0" [features] cuda = ["memonitor-sys/cuda"] default = [ "vulkan", "cuda", ] vulkan = ["memonitor-sys/vulkan"]