# 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.80" name = "battery-notify" version = "0.3.5" authors = ["Chris Down "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A simple battery notifier for Linux." readme = "README.md" keywords = [ "battery", "linux", "notify", "popup", ] categories = ["command-line-utilities"] license = "MIT" repository = "https://github.com/cdown/battery-notify" [[bin]] name = "battery-notify" path = "src/main.rs" [dependencies.anyhow] version = "1.0.92" [dependencies.cancellable-timer] version = "0.1.0" [dependencies.confy] version = "0.6.1" [dependencies.ctrlc] version = "3.4.5" features = ["termination"] [dependencies.env_logger] version = "0.11.5" features = ["humantime"] default-features = false [dependencies.hashbrown] version = "0.15.0" [dependencies.log] version = "0.4.22" [dependencies.notify-rust] version = "4.11.3" [dependencies.once_cell] version = "1.20.2" optional = true [dependencies.sd-notify] version = "0.4.3" [dependencies.serde] version = "1.0.214" default-features = false [dependencies.serde_plain] version = "1.0.2" [dependencies.x11rb] version = "0.13.1" features = ["randr"] optional = true default-features = false [dependencies.zbus] version = "5.1.0" features = [ "async-io", "blocking-api", ] optional = true default-features = false [features] bluetooth = [ "once_cell", "zbus", ] default = [ "mons", "bluetooth", ] mons = [ "once_cell", "x11rb", ]