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

persist_if_changed

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

37 releases

0.1.45 Jul 2, 2024
0.1.44 Jun 22, 2024
0.1.38 Apr 28, 2024
0.1.23 Mar 30, 2024
0.1.13 Jan 26, 2024

#765 in Filesystem

Download history 264/week @ 2024-04-01 392/week @ 2024-04-08 1241/week @ 2024-04-15 1012/week @ 2024-04-22 237/week @ 2024-04-29 88/week @ 2024-05-06 153/week @ 2024-05-13 306/week @ 2024-05-20 133/week @ 2024-05-27 179/week @ 2024-06-03 501/week @ 2024-06-10 709/week @ 2024-06-17 117/week @ 2024-06-24 287/week @ 2024-07-01 58/week @ 2024-07-08 66/week @ 2024-07-15

573 downloads per month
Used in 8 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