Registry / crypto / rustls-webpki

rustls-webpki

JSON →
library0.103.13rscratesunverified

Web PKI X.509 Certificate Verification for use with rustls TLS library.

# Cargo.toml [dependencies] rustls-webpki = "0.103.13"
INSTALL
IMPORT
SIG · RUSTLS-WEBPKI
R
rustls-webpki
cryptorustv0.103.13
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

TrustAnchor
use webpki::TrustAnchor;

Loads TLS server root certificates for verification.

use webpki::TrustAnchor; fn main() -> Result<(), webpki::Error> { let anchors = webpki::TLS_SERVER_ROOTS.0; println!("Loaded {} root certificates", anchors.len()); Ok(()) }
Debug
Known issues
gotchaRequires the `alloc` feature for some functionality; missing feature leads to compile errors.
fix
Add `features = ["alloc"]` to Cargo.toml dependency.
affects: >=0.100.0
Upgrade
Version history
0.103.13latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
12
Resources
rustls-webpki — cargo add rustls-webpki · libregistry