astral-sh/uv
uv-warnings
crates/uv-warnings/ is uv's user-facing warning helper.
Purpose
tracing::warn! is for diagnostics that go to the trace log. uv-warnings is for "we want
the user to see this" warnings — usually rendered with a yellow "warning:" prefix. The crate
provides:
warn_user!— the print-once-per-process variant.warn_user_once!— the print-once-per-message variant (deduplicates by formatted text).
These are used everywhere uv wants to nudge the user without blocking the operation (deprecated flags, suspicious project layouts, etc.).
See also
uv-console— color decisions.
Built by Factory AutoWiki from public repository content. It is a generated preview for codebase exploration, not source-maintained documentation.