Open-Source Wikis

/

uv

/

Crates

/

uv-dispatch

astral-sh/uv

uv-dispatch

crates/uv-dispatch/ is the concrete BuildContext implementation that the binary uses.

Purpose

The resolver and installer talk to the build frontend via the BuildContext trait (uv-types). The trait abstraction lets those crates avoid a circular dependency. uv-dispatch is where the abstraction is grounded: it knows about the cache, the HTTP client, the index configuration, and the actual uv-build-frontend so it can satisfy build requests for real.

Key abstractions

  • BuildDispatch — implements BuildContext. Owns a RegistryClient, a Cache, a BuildIsolation, and the configured indexes.
  • Helpers that compose BuildDispatch from settings.

See also

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

uv-dispatch – uv wiki | Factory