# 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 = "caffeinate2"
version = "0.8.0"
authors = ["Randomblock1 <randomblock1@pm.me>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "caffeinate2"
description = "Caffeinate MacOS utility with more options. Temporarily prevent your system from sleeping."
homepage = "https://randomblock1.com"
readme = "README.md"
keywords = [
    "macos",
    "utility",
    "caffeinate",
]
categories = ["command-line-utilities"]
license = "MIT"
repository = "https://github.com/randomblock1/caffeinate2"

[[bin]]
name = "caffeinate2"
path = "src/main.rs"

[[bin]]
name = "sleepdetect"
path = "src/sleepdetect.rs"

[dependencies.chrono]
version = "0.4"
features = [
    "alloc",
    "clock",
    "now",
    "std",
]

[dependencies.clap]
version = "4.5"
features = [
    "derive",
    "wrap_help",
]

[dependencies.humantime]
version = "2.3"

[dependencies.nix]
version = "0.30"
features = [
    "user",
    "event",
    "fs",
    "signal",
]

[dependencies.objc2]
version = "0.6"

[dependencies.objc2-core-foundation]
version = "0.3.2"

[dependencies.objc2-io-kit]
version = "0.3"

[dependencies.signal-hook]
version = "0.3"
