#security #usb #privacy #cli #dead-man-switch #man-switch

app rust-dms

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

1 unstable release

Uses new Rust 2024

0.1.1 Mar 15, 2025
0.1.0 Mar 15, 2025

#863 in Command line utilities

Download history 100/week @ 2025-03-09 124/week @ 2025-03-16 7/week @ 2025-03-23

231 downloads per month

MIT/Apache

15KB
266 lines

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.

Dependencies

~2–11MB
~141K SLoC