Cargo Features

[dependencies]
rustls-webpki = { version = "0.104.0-alpha.2", default-features = false, features = ["std", "alloc", "aws-lc-rs-unstable", "aws-lc-rs", "aws-lc-rs-fips", "ring"] }
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 and optional ring

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, 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_2048_8192_SHA256_ABSENT_PARAMS, ring_algs::RSA_PKCS1_2048_8192_SHA384_ABSENT_PARAMS, ring_algs::RSA_PKCS1_2048_8192_SHA512_ABSENT_PARAMS, 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, verify_cert::RequiredEkuNotFoundContext.required, verify_cert::RequiredEkuNotFoundContext.present

aws-lc-rs-unstable = aws-lc-rs

Enables unstable of aws-lc-rs

Affects aws_lc_rs_algs::ML_DSA_44, aws_lc_rs_algs::ML_DSA_65, aws_lc_rs_algs::ML_DSA_87

aws-lc-rs aws-lc-rs-unstable?

Enables aws-lc-sys and prebuilt-nasm of aws-lc-rs

Affects rustls-webpki::aws_lc_rs

aws-lc-rs-fips

Enables fips of aws-lc-rs

aws-lc-rs:

require FIPS

ring

Enables ring

Affects rustls-webpki::ring