Cargo Features

[dependencies]
rcgen = { version = "0.13.2", default-features = false, features = ["crypto", "aws_lc_rs", "ring", "fips", "pem", "x509-parser", "zeroize"] }
default = crypto, pem, ring

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

crypto default aws_lc_rs? fips? ring

Affects rcgen::generate_simple_self_signed, key_pair::RsaKeySize

aws_lc_rs = crypto

Enables aws-lc-sys of aws-lc-rs

Affects key_pair::RsaKeySize

ring default = crypto

Enables ring

fips = crypto

Enables fips of aws-lc-rs

aws-lc-rs:

require FIPS

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

pem default
x509-parser implicit feature

Enables x509-parser

x509-parser:

Parser for the X.509 v3 format (RFC 5280 certificates)

zeroize implicit feature