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

persist_if_changed

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

60 releases

new 0.1.68 Jan 5, 2025
0.1.66 Dec 31, 2024
0.1.58 Nov 29, 2024
0.1.46 Jul 27, 2024
0.1.23 Mar 30, 2024

#936 in Filesystem

Download history 156/week @ 2024-09-14 121/week @ 2024-09-21 94/week @ 2024-09-28 61/week @ 2024-10-05 63/week @ 2024-10-12 197/week @ 2024-10-19 167/week @ 2024-10-26 419/week @ 2024-11-02 190/week @ 2024-11-09 36/week @ 2024-11-16 731/week @ 2024-11-23 363/week @ 2024-11-30 636/week @ 2024-12-07 144/week @ 2024-12-14 173/week @ 2024-12-21 475/week @ 2024-12-28

1,439 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