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

persist_if_changed

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

51 releases

new 0.1.59 Dec 1, 2024
0.1.58 Nov 29, 2024
0.1.49 Oct 23, 2024
0.1.46 Jul 27, 2024
0.1.23 Mar 30, 2024

#798 in Filesystem

Download history 102/week @ 2024-08-16 63/week @ 2024-08-23 210/week @ 2024-08-30 58/week @ 2024-09-06 148/week @ 2024-09-13 125/week @ 2024-09-20 89/week @ 2024-09-27 72/week @ 2024-10-04 63/week @ 2024-10-11 188/week @ 2024-10-18 77/week @ 2024-10-25 492/week @ 2024-11-01 213/week @ 2024-11-08 36/week @ 2024-11-15 611/week @ 2024-11-22 453/week @ 2024-11-29

1,357 downloads per month
Used in 11 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
~20K SLoC