#mutex #file-system-based

dir-lock

A simple file-system-based mutex

9 unstable releases (4 breaking)

Uses new Rust 2024

0.5.0 May 13, 2025
0.4.2 May 13, 2025
0.4.1 Feb 19, 2025
0.3.0 Jan 18, 2021
0.1.1 Feb 16, 2020

#1301 in Filesystem

Download history 8/week @ 2025-10-12 14/week @ 2025-10-19 7/week @ 2025-10-26 18/week @ 2026-01-18 193/week @ 2026-01-25

211 downloads per month
Used in 2 crates

MIT license

11KB
165 lines

This is dir-lock, a library crate providing the type DirLock, which is a simple file-system-based mutex.


crates.io badge docs.rs badge

This is dir-lock, a library crate providing a simple file-system-based mutex.

Dependencies

~3–22MB
~364K SLoC