# 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.74" name = "keep-active" version = "0.1.2" authors = ["Ömer Üstün "] exclude = ["/tools/"] description = "Keep your computer awake and active" readme = "README.md" keywords = [ "idle", "sleep", "power-management", "status-trackers", "systemd-inhibit", ] categories = ["command-line-utilities"] license = "MIT" repository = "https://github.com/omerbustun/keep-active/" [profile.release] lto = "thin" strip = true [[bin]] name = "keep-active" required-features = ["bin"] [dependencies.anyhow] version = "1.0.65" [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.12.0" [dependencies.enigo] version = "0.1.3" [dependencies.shadow-rs] version = "0.26.1" optional = true [dependencies.sysinfo] version = "0.30.5" optional = true [build-dependencies.shadow-rs] version = "0.26.1" optional = true [build-dependencies.winresource] version = "0.1.17" optional = true [features] bin = [ "dep:clap", "dep:clap_complete", "dep:ctrlc", "dep:shadow-rs", "dep:sysinfo", "dep:winresource", ] [target."cfg(target_os = \"linux\")".dependencies.zbus] version = "3.5.0" [target."cfg(target_os = \"macos\")".dependencies.apple-sys] version = "0.2.0" features = [ "CoreFoundation", "IOKit", ] [target."cfg(target_os = \"macos\")".dependencies.core-foundation] version = "0.9.3" [target."cfg(windows)".dependencies.windows] version = "0.52.0" features = ["Win32_System_Power"]