62 releases

Uses new Rust 2024

new 0.0.65 Jun 17, 2025
0.0.64 Jun 17, 2025
0.0.40 May 25, 2025
0.0.31 Apr 29, 2025
0.0.2 Feb 27, 2025

#204 in Operating systems

Download history 249/week @ 2025-02-25 423/week @ 2025-03-04 157/week @ 2025-03-11 134/week @ 2025-03-18 91/week @ 2025-03-25 1024/week @ 2025-04-01 524/week @ 2025-04-08 904/week @ 2025-04-15 305/week @ 2025-04-22 142/week @ 2025-04-29 481/week @ 2025-05-06 570/week @ 2025-05-13 140/week @ 2025-05-20 33/week @ 2025-05-27 875/week @ 2025-06-03 1862/week @ 2025-06-10

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

MIT license

14KB
132 lines

BRK Exit

GitHub Repo stars 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
~201K SLoC