# 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 believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] edition = "2018" name = "battery" version = "0.7.8" authors = ["svartalf "] build = "build.rs" description = "Cross-platform information about the notebook batteries" readme = "README.md" keywords = ["battery", "linux", "macos", "windows", "freebsd"] categories = ["os"] license = "Apache-2.0 OR MIT" repository = "https://github.com/svartalf/rust-battery" [dependencies.cfg-if] version = "1.0" [dependencies.num-traits] version = "0.2" default_features = false [dependencies.uom] version = "0.30" features = ["autoconvert", "f32", "si"] [dev-dependencies.approx] version = "0.3.2" [dev-dependencies.tempfile] version = "^3.0" [target."cfg(any(target_os = \"dragonfly\", target_os = \"freebsd\"))".dependencies.libc] version = "~0.2" [target."cfg(any(target_os = \"dragonfly\", target_os = \"freebsd\"))".dependencies.nix] version = "~0.19" [target."cfg(any(target_os = \"macos\", target_os = \"ios\"))".dependencies.core-foundation] version = "~0.7" [target."cfg(any(target_os = \"macos\", target_os = \"ios\"))".dependencies.libc] version = "^0.2" [target."cfg(any(target_os = \"macos\", target_os = \"ios\"))".dependencies.mach] version = "^0.3" [target."cfg(target_os = \"linux\")".dependencies.lazycell] version = "~1.3" [target."cfg(target_os = \"windows\")".dependencies.winapi] version = "~0.3" features = ["impl-default", "devguid", "winbase", "ioapiset", "ntdef", "setupapi", "handleapi", "errhandlingapi", "winerror"] [badges.is-it-maintained-issue-resolution] repository = "svartalf/rust-battery" [badges.is-it-maintained-open-issues] repository = "svartalf/rust-battery" [badges.maintenance] status = "actively-developed" [badges.travis-ci] branch = "master" repository = "svartalf/rust-battery"