#lock-files #lock #deadlock

alive_lock_file

A simple crate to create lock files without creating dead locks

4 releases

0.2.0 Dec 15, 2024
0.1.2 Jul 30, 2024
0.1.1 Jul 22, 2024
0.1.0 Jul 22, 2024

#806 in Filesystem

Download history 2/week @ 2024-10-14 2/week @ 2024-11-18 53/week @ 2024-12-09 140/week @ 2024-12-16 12/week @ 2024-12-23 17/week @ 2024-12-30 52/week @ 2025-01-06 6/week @ 2025-01-13

93 downloads per month

MIT license

5KB
89 lines

alive_lock_file

crates.io docs.rs license

Feature

  • join the provided path to the $XDG_RUNTIME_DIR env variable. This directory get cleanned automatically by the system, and is mount as a ramfs.
  • Atomic file creation

Dependencies

~0.2–11MB
~52K SLoC