hydrophonitor/modules/shutdown-button/Cargo.toml
Satu Koskinen 8f98117aee
Implement configuration options for shutdown-button service (#33)
- GPIO pin
- button press duration in seconds to trigger shutdown
- add logging

Signed-off-by: Satu Koskinen <satu.a.koskinen@gmail.com>
2023-10-16 15:10:32 +03:00

13 lines
297 B
TOML

[package]
name = "shutdown-button"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
clap = { version = "=4.0.0", features = ["derive"] }
env_logger = "0.10.0"
log = "0.4.20"
rust_gpiozero = "^0.2"