pub fn config_dir_store_key(config_dir: &Path) -> StringExpand description
Stable hex key for a config dir’s durable store, independent of the Rust release.
config_dir_hash hashes through DefaultHasher, whose algorithm std
does not promise across releases; a nightly bump would silently open a new
empty store and orphan every cron and subscription. The durable store
therefore keys on a SHA-256 of the canonicalised path. The lock keeps
config_dir_hash on purpose: a changed digest there would let a new
binary miss a running old process’s lock.