Open-Source Wikis

/

uv

/

Crates

/

uv-cache-key

astral-sh/uv

uv-cache-key

crates/uv-cache-key/ provides generic key derivation for the cache: a stable, fast hash that turns a URL, path, or composite tuple into a fixed-size string suitable for use as a filename.

Key abstractions

  • cache_digest — the canonical hash function used by every other crate when constructing CacheShards and CacheEntrys.
  • The hash is content-addressed and stable across uv versions (so cache hits survive upgrades) but not exposed as a public API.

See also

Built by Factory AutoWiki from public repository content. It is a generated preview for codebase exploration, not source-maintained documentation.

uv-cache-key – uv wiki | Factory