Skip to content

Enable default rustls features - #595

Closed
zaniebot wants to merge 1 commit into
mainfrom
zb/rustls-default-features
Closed

zaniebot wants to merge 1 commit into
mainfrom
zb/rustls-default-features

Conversation

@zaniebot

@zaniebot zaniebot commented Aug 11, 2026 •

Copy link
Copy Markdown
Collaborator

The rustls defaults were originally disabled to avoid introducing aws-lc-rs while uv used ring, but aws-lc-rs is now the intended backend. Restore the defaults to prefer post-quantum key exchange, avoid an extra TLS handshake round trip with servers that prefer it, and enable opt-in TLS diagnostics.

The uv release binary grows by 92,704 bytes (+0.165%) on x86_64-unknown-linux-gnu, 66,256 bytes (+0.165%) on aarch64-apple-darwin, and 61,744 bytes (+0.129%) on x86_64-apple-darwin. The corresponding compressed release archives grow by 31,858, 18,498, and 16,283 bytes; uvx is unchanged.

@astral-automations-bot astral-automations-bot Bot added enhancement New feature or request performance labels Aug 11, 2026
@zanieb
zanieb marked this pull request as ready for review August 11, 2026 15:30
@astral-automations-bot

Copy link
Copy Markdown

Promoted to #21054.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request performance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants