# 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" rust-version = "1.69" name = "starship-battery" version = "0.8.3" authors = ["Starship Contributors"] build = "build.rs" description = "Cross-platform information about the notebook batteries" readme = "README.md" keywords = [ "battery", "linux", "macos", "windows", "freebsd", ] categories = ["os"] license = "ISC" repository = "https://github.com/starship/rust-battery" [dependencies.cfg-if] version = "1.0" [dependencies.num-traits] version = "0.2" default-features = false [dependencies.schemars] version = "0.8.16" optional = true [dependencies.serde] version = "1.0.197" features = ["derive"] optional = true [dependencies.uom] version = "0.36" features = [ "autoconvert", "f32", "si", ] [dev-dependencies.approx] version = "0.5.1" [dev-dependencies.tempfile] version = "^3.10.1" [features] config-schema = [ "schemars", "serde", ] [target."cfg(any(target_os = \"dragonfly\", target_os = \"freebsd\"))".dependencies.libc] version = "~0.2.153" [target."cfg(any(target_os = \"dragonfly\", target_os = \"freebsd\"))".dependencies.nix] version = "~0.28" features = ["ioctl"] default-features = false [target."cfg(any(target_os = \"macos\", target_os = \"ios\"))".dependencies.core-foundation] version = "~0.9.4" [target."cfg(any(target_os = \"macos\", target_os = \"ios\"))".dependencies.libc] version = "^0.2.153" [target."cfg(any(target_os = \"macos\", target_os = \"ios\"))".dependencies.mach] version = "^0.4.2" package = "mach2" [target."cfg(target_os = \"linux\")".dependencies.lazycell] version = "~1.3" [target."cfg(target_os = \"windows\")".dependencies.winapi] version = "~0.3.9" features = [ "impl-default", "devguid", "winbase", "ioapiset", "ntdef", "setupapi", "handleapi", "errhandlingapi", "winerror", ]