Crate features / rustls-webpki
Feature flags · rustls-webpki 0.103.16 · from crates.io 2026-10-24
rustls-webpki features: what each one does, and the line to copy
Short answerrustls-webpki 0.103.16 has 6 features. By default it turns on std; add default-features = false to start from nothing. It needs Rust 1.71 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
alloc | ring?/alloc, pki-types/alloc | |
aws-lc-rs | dep:aws-lc-rs, aws-lc-rs/aws-lc-sys, aws-lc-rs/prebuilt-nasm | |
aws-lc-rs-fips | dep:aws-lc-rs, aws-lc-rs/fips | |
aws-lc-rs-unstable | aws-lc-rs | |
ring | dep:ring | |
std | yes | alloc, pki-types/std |
dep:x turns on the optional dependency x; x/y turns on feature y of dependency x (with ?, only if x is already on).
MSRV history
The minimum Rust version rustls-webpki declares (rust-version), and the release that changed it:
- 0.103.0 (2025-02-24): Rust 1.71
- 0.104.0-alpha.1 (2025-10-02): Rust 1.83
- 0.103.8 (2025-10-28): Rust 1.71
- 0.104.0-alpha.3 (2026-01-22): Rust 1.83
- 0.103.10 (2026-03-20): Rust 1.71
- 0.104.0-alpha.5 (2026-03-20): Rust 1.83
- 0.103.11 (2026-04-10): Rust 1.71
- 0.104.0-alpha.6 (2026-04-13): Rust 1.83
- 0.103.12 (2026-04-14): Rust 1.71
- 0.104.0-alpha.7 (2026-04-21): Rust 1.83
- 0.103.13 (2026-04-21): Rust 1.71
- 0.104.0-alpha.8 (2026-10-20): Rust 1.83
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p rustls-webpki --precise <version>, or use resolver 3, which picks compatible versions for you.
More on rustls-webpki
Real downloads, dependents and alternatives: rustls-webpki crate data (2.7M real downloads a day, 240 dependents).
Security record: rustls-webpki advisories.
docs.rs feature list · crates.io · license ISC · edition 2021
Up next
Before you depend on itrustls-webpki crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?