Cargo Features

[dependencies]
rustls-webpki = { version = "0.104.0-alpha.4", default-features = false, features = ["std", "alloc"] }
default = std

The std feature is set by default 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

Affects types::OwnedCertRevocationList, types::OwnedRevokedCert, error::InvalidNameContext.expected, error::InvalidNameContext.presented, error::UnsupportedSignatureAlgorithmForPublicKeyContext.signature_algorithm_id, error::UnsupportedSignatureAlgorithmForPublicKeyContext.public_key_algorithm_id, error::UnsupportedSignatureAlgorithmContext.signature_algorithm_id, error::UnsupportedSignatureAlgorithmContext.supported_algorithms, trust_anchor::spki_for_anchor, verify_cert::RequiredEkuNotFoundContext.required, verify_cert::RequiredEkuNotFoundContext.present