# 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 = "2024"
name = "power-profile-watcher"
version = "0.1.9"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Watches UPower power-source changes and updates power-profiles-daemon automatically"
readme = "README.md"
keywords = [
    "linux",
    "dbus",
    "power",
    "daemon",
    "upower",
]
categories = [
    "command-line-utilities",
    "os::linux-apis",
]
license = "MIT"
repository = "https://github.com/ethernomad/power-profile-watcher"

[[bin]]
name = "power-profile-watcher"
path = "src/main.rs"

[dependencies.clap]
version = "4.5.39"
features = [
    "color",
    "derive",
]

[dependencies.futures-util]
version = "0.3.32"

[dependencies.tokio]
version = "1.48.0"
features = [
    "macros",
    "rt-multi-thread",
    "signal",
    "process",
]

[dependencies.tracing]
version = "0.1.44"

[dependencies.tracing-subscriber]
version = "0.3.23"
features = [
    "env-filter",
    "fmt",
]

[dependencies.zbus]
version = "5"
features = ["tokio"]
default-features = false

[profile.release]
lto = "thin"
strip = "symbols"
