Cargo Features

[dependencies]
rustls-webpki = { version = "0.102.8", default-features = false, features = ["std", "alloc", "aws_lc_rs", "ring"] }
default = ring, std

These default features are set whenever rustls-webpki is added without default-features = false somewhere in the dependency tree.

std default = alloc

Enables std of rustls-pki-types

alloc std

Enables alloc of rustls-pki-types and optional ring

Affects types::OwnedCertRevocationList, types::OwnedRevokedCert, ring_algs::RSA_PKCS1_2048_8192_SHA256, ring_algs::RSA_PKCS1_2048_8192_SHA384, ring_algs::RSA_PKCS1_2048_8192_SHA512, ring_algs::RSA_PKCS1_3072_8192_SHA384, ring_algs::RSA_PSS_2048_8192_SHA256_LEGACY_KEY, ring_algs::RSA_PSS_2048_8192_SHA384_LEGACY_KEY, ring_algs::RSA_PSS_2048_8192_SHA512_LEGACY_KEY

aws_lc_rs

Enables aws-lc-rs

Affects rustls-webpki::aws_lc_rs

ring default

Enables ring

Affects rustls-webpki::ring