A tiny utility to execute certain actions on upon a disconnection of any given USB device.
Find a file
nm17 3639d743a9
All checks were successful
Cargo Build & Test / Build and test - beta (push) Successful in 27s
Cargo Build & Test / Build and test - nightly (push) Successful in 30s
Cargo Build & Test / Build and test - stable (push) Successful in 31s
ci: add some basic ci/cd
2025-03-15 23:10:46 +04:00
.forgejo/workflows ci: add some basic ci/cd 2025-03-15 23:10:46 +04:00
src fix: dumb mistake 2025-03-15 22:51:08 +04:00
.gitignore initial commit 2025-03-15 19:28:47 +04:00
Cargo.lock fix: dumb mistake 2025-03-15 22:51:08 +04:00
Cargo.toml fix: dumb mistake 2025-03-15 22:51:08 +04:00
LICENSE-APACHE initial commit 2025-03-15 19:28:47 +04:00
LICENSE-MIT initial commit 2025-03-15 19:28:47 +04:00
README.md initial commit 2025-03-15 19:28:47 +04:00

Rust-DMS (Dead man switch)

A tiny utility to execute certain actions on upon a disconnection of any given USB device.

This project is meant to be as simple and reliable as possible. It shouldn't need continious updates or testing. It doesn't have a web or terminal UI, all options are supplied from CLI arguments only. This makes it easy to understand and configure, compared to configuring from config files or .env files/variables.

How to install

$ cargo install rust-dms

Similar projects

dead-man-switch

A bit too complex for what I need, but if you really need a TUI and Web UI for your deadman switch - use it.

License

The crate is licensed under either of:

  • Apache License, Version 2.0
  • MIT license

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.