36 releases

Uses new Rust 2024

new 0.0.37 May 14, 2025
0.0.36 May 13, 2025
0.0.31 Apr 29, 2025
0.0.11 Mar 31, 2025
0.0.2 Feb 27, 2025

#214 in Operating systems

Download history 373/week @ 2025-02-26 319/week @ 2025-03-05 143/week @ 2025-03-12 136/week @ 2025-03-19 120/week @ 2025-03-26 1095/week @ 2025-04-02 500/week @ 2025-04-09 962/week @ 2025-04-16 206/week @ 2025-04-23 116/week @ 2025-04-30 755/week @ 2025-05-07

2,123 downloads per month
Used in 7 crates (6 directly)

MIT license

14KB
126 lines

BRK Exit

GitHub Repo stars kibo.money License Version Documentation Size Dependency status Discord Nostr Bluesky X

A simple crate that stops the program from exitting when blocking is activated until it is released. The purpose of that is to prevent exitting when a program is in the middle of saving data and thus prevent partial writes.

It's built on top of ctrlc which handles Ctrl + C (SIGINT), stopping the program using the kill command (SIGTERM) and closing the terminal (SIGHUP) but it doesn't support force kills (kill -9).

Dependencies

~8–16MB
~197K SLoC