# 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 = "rapl-energy" version = "0.1.19" description = "Small library for getting the CPU energy consumption from RAPL" readme = "README.md" keywords = [ "benchmarking", "energy", "sustainability", ] categories = ["development-tools::profiling"] license = "Apache-2.0" repository = "https://github.com/JordyAaldering/rapl-energy" [lib] crate-type = [ "lib", "cdylib", ] [dependencies.indexmap] version = "2.2.6" [dependencies.libmedium] version = "0.12.0" optional = true [dependencies.nvml-wrapper] version = "0.10.0" optional = true [dependencies.once_cell] version = "1.20.2" optional = true [dependencies.ureq] version = "2.10.1" optional = true [build-dependencies.cbindgen] version = "0.27.0" [features] default = [ "http", "hwmon", "nvml", ] http = ["dep:ureq"] hwmon = ["dep:libmedium"] nvml = [ "dep:nvml-wrapper", "dep:once_cell", ]