speakersafetyd/Cargo.toml
Hector Martin 60752494cd main: Trap SIGQUIT to trigger a blackbox
The signal_hook crate makes this easy, but unfortunately insists on
hardcoding SA_RESTART. So we have to then use libc directly to patch
that out...

Still worth using signal_hook for the atomic flag helper though.

Signed-off-by: Hector Martin <marcan@marcan.st>
2023-12-04 18:40:46 +09:00

19 lines
478 B
TOML

[package]
name = "speakersafetyd"
version = "0.1.4"
edition = "2021"
license = "MIT"
description = "Speaker protection daemon for embedded Linux systems"
repository = "https://github.com/AsahiLinux/speakersafetyd/"
[dependencies]
alsa = "^0.8.1"
configparser = { version = "^2.1.0"}
clap = { version = "4.1.6", features=["derive"] }
log = "0.4.17"
clap-verbosity-flag = "2.0.0"
simple_logger = "1.16.0"
chrono = "0.4.31"
json = "0.12.4"
signal-hook = "0.3.17"
libc = "0.2.150"