# 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 = "2018" name = "powercap" version = "0.3.5" authors = ["Jeremie Drouet "] description = "Library for reading powercap files" keywords = ["powercap", "rapl"] license = "MIT OR Apache-2.0" repository = "https://github.com/jdrouet/powercap" [[bench]] name = "parsing" harness = false [dependencies.procfs] version = "^0.11" optional = true default-features = false [dependencies.regex] version = "^1.5" features = ["std", "unicode-perl"] default-features = false [dependencies.serde] version = "1" features = ["derive"] optional = true [dev-dependencies.criterion] version = "0.3" [dev-dependencies.serde_json] version = "1" [dev-dependencies.temp-dir] version = "0.1" [features] default = ["modules"] mock = [] modules = ["procfs"] with-serde = ["serde"]