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— implementsBuildContext. Owns aRegistryClient, aCache, aBuildIsolation, and the configured indexes.- Helpers that compose
BuildDispatchfrom settings.
See also
uv-types— the trait.uv-build-frontend— the concrete builder.uv-resolver,uv-installer— the consumers.
Built by Factory AutoWiki from public repository content. It is a generated preview for codebase exploration, not source-maintained documentation.