#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

#800 in Filesystem

Download history 5/week @ 2024-09-25 1/week @ 2024-10-09 1/week @ 2024-10-16 1/week @ 2024-11-13 1/week @ 2024-11-20 1/week @ 2024-12-04 147/week @ 2024-12-11 49/week @ 2024-12-18 8/week @ 2024-12-25 28/week @ 2025-01-01 47/week @ 2025-01-08

158 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