#pavex #data #changed #disk #file #systems #persisting

persist_if_changed

A library for persisting data to disk only if it has changed

30 releases

new 0.1.38 Apr 28, 2024
0.1.37 Apr 27, 2024
0.1.23 Mar 30, 2024
0.1.21 Feb 26, 2024
0.1.13 Jan 26, 2024

#849 in Filesystem

Download history 51/week @ 2024-01-22 49/week @ 2024-01-29 68/week @ 2024-02-05 176/week @ 2024-02-19 387/week @ 2024-02-26 75/week @ 2024-03-04 34/week @ 2024-03-11 132/week @ 2024-03-18 262/week @ 2024-03-25 264/week @ 2024-04-01 392/week @ 2024-04-08 1241/week @ 2024-04-15 1012/week @ 2024-04-22

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

Apache-2.0

7KB
99 lines

A tiny utility library to avoid touching the filesystem if the content has not changed.

This is useful to avoid triggering unnecessary rebuilds in systems that look at the modification time (mtime) as part of their file fingerprint (e.g. cargo).

Dependencies

~1MB
~19K SLoC