Docs.rs
file-parse-cache-0.1.1
file-parse-cache 0.1.1
Docs.rs crate page
MIT
OR
Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
sevenevesai
Dependencies
bincode ^1
normal
optional
blake3 ^1
normal
moka ^0.12
normal
postcard ^1
normal
optional
serde ^1
normal
optional
bincode ^1
dev
postcard ^1
dev
serde ^1
dev
serde_json ^1
dev
tempfile ^3
dev
Versions
84.21%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
Crate file_parse_cache
file_
parse_
cache
0.1.1
All Items
Crate Items
Structs
Traits
Crate
file_
parse_
cache
Copy item path
Source
Structs
§
Blake3
Stamp
32-byte BLAKE3 digest, wrapped for trait impls.
Content
Hash
Fingerprint
BLAKE3 hash of the full file content. Robust against mtime resets, but reads the entire file on every check.
File
Parse
Cache
Mtime-gated (or content-hash-gated) file parse cache.
Mtime
Fingerprint
Compares
mtime
from filesystem metadata. Cheap (one syscall), but can miss edits that land within the same second on coarse-grained filesystems, and reports false changes after
git clone
or
cargo
resets mtimes.
Mtime
Stamp
Seconds + nanoseconds since UNIX epoch. Negative
secs
for pre-epoch times.
Traits
§
Fingerprint
Cheaply identifies whether a file’s content has changed since the last parse.