astral-sh/uv
uv-metadata
crates/uv-metadata/ reads core-metadata files from wheels and sdists.
Purpose
A wheel's dist-info/METADATA and an sdist's PKG-INFO are both Core Metadata files. uv
needs to read them in many places — at install time, during publish, when populating cache
entries, when answering uv pip show. This crate is the parser.
Key abstractions
read_metadata_async_seek— async, seeking reader for metadata embedded in a.whl.- Helpers for reading
PKG-INFOfrom sdists.
See also
uv-pypi-typesfor theMetadata23model.uv-publishfor one of the heaviest consumers.
Built by Factory AutoWiki from public repository content. It is a generated preview for codebase exploration, not source-maintained documentation.