#usb #usb-device #privacy #security #action #cli #dead-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

new 0.1.1 Mar 15, 2025
0.1.0 Mar 15, 2025

#1183 in Command line utilities

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–16MB
~153K SLoC