#pavex #data #disk #changed #systems #persisting #rebuild

persist_if_changed

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

70 releases

Uses new Rust 2024

0.1.78 Mar 1, 2025
0.1.70 Jan 24, 2025
0.1.66 Dec 31, 2024
0.1.58 Nov 29, 2024
0.1.23 Mar 30, 2024

#5 in #changed

Download history 42/week @ 2024-11-19 994/week @ 2024-11-26 131/week @ 2024-12-03 698/week @ 2024-12-10 195/week @ 2024-12-17 116/week @ 2024-12-24 620/week @ 2024-12-31 55/week @ 2025-01-07 35/week @ 2025-01-14 316/week @ 2025-01-21 201/week @ 2025-01-28 251/week @ 2025-02-04 479/week @ 2025-02-11 383/week @ 2025-02-18 600/week @ 2025-02-25 104/week @ 2025-03-04

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

~1.5MB
~28K SLoC