2 releases
| 0.1.2 | Mar 18, 2022 |
|---|---|
| 0.1.1 | Jan 20, 2022 |
#4 in #pushing
25 downloads per month
Used in sonicbot-matrix
4KB
How to use
Run a loop until CTRL-C is pushed:
use ctrlc_handler::CtrlCHandler;
let handler = CtrlCHandler::new();
while handler.should_continue() {
// Do stuff here
}
Dependencies
~2–4MB
~80K SLoC