# 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.70" name = "naptime" version = "0.1.0" authors = ["Ben Scott "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = """ Detect sleep and wake notifications from the OS. """ readme = "README.md" keywords = [ "sleep", "suspend", "wait", ] license = "MIT" repository = "https://github.com/gamepoet/naptime" [lib] name = "naptime" path = "src/lib.rs" [[example]] name = "caffeine" path = "examples/caffeine.rs" [[example]] name = "simple" path = "examples/simple.rs" [dependencies.thiserror] version = "1.0.63" [dependencies.tracing] version = "0.1.40" [dev-dependencies.tokio] version = "1.39" features = [ "rt-multi-thread", "macros", "signal", ] [dev-dependencies.tracing-subscriber] version = "0.3.18" features = [ "fmt", "env-filter", ]