keepawake 0.6.1

Keep your computer awake
Documentation
# 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 = "keepawake"
version = "0.6.1"
authors = ["Segev Finer <segev208@gmail.com>"]
build = "build.rs"
exclude = ["/tools/"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Keep your computer awake"
readme = "README.md"
keywords = [
    "caffeinate",
    "systemd-inhibit",
    "idle",
    "sleep",
    "power-management",
]
categories = ["command-line-utilities"]
license = "MIT"
repository = "https://github.com/segevfiner/keepawake-rs/"

[features]
bin = [
    "dep:anyhow",
    "dep:clap",
    "dep:clap_complete",
    "dep:ctrlc",
    "dep:shadow-rs",
    "dep:sysinfo",
    "dep:winresource",
]
capi = []

[lib]
name = "keepawake"
path = "src/lib.rs"

[[bin]]
name = "keepawake"
path = "src/main.rs"
required-features = ["bin"]

[dependencies.anyhow]
version = "1.0.65"
optional = true

[dependencies.cfg-if]
version = "1.0.0"

[dependencies.clap]
version = "4.0.2"
features = ["derive"]
optional = true

[dependencies.clap_complete]
version = "4.0.2"
optional = true

[dependencies.ctrlc]
version = "3.2.3"
features = ["termination"]
optional = true

[dependencies.derive_builder]
version = "0.20.2"

[dependencies.shadow-rs]
version = "2.0.0"
optional = true

[dependencies.sysinfo]
version = "0.39.6"
optional = true

[dependencies.thiserror]
version = "2.0.11"

[build-dependencies.shadow-rs]
version = "1.4.0"
optional = true

[build-dependencies.winresource]
version = "0.1.17"
optional = true

[target.'cfg(target_os = "linux")'.dependencies.zbus]
version = "5.3.0"

[target.'cfg(target_os = "macos")'.dependencies.objc2-core-foundation]
version = "0.3.2"
features = ["CFString"]

[target.'cfg(target_os = "macos")'.dependencies.objc2-io-kit]
version = "0.3.2"
features = ["pwr_mgt"]

[target."cfg(windows)".dependencies.windows]
version = "0.62.2"
features = ["Win32_System_Power"]

[profile.release]
lto = "thin"
debug = 2
split-debuginfo = "packed"
strip = true