Cargo Features

[dependencies]
rcgen = { version = "0.13.1", 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? ring

Affects rcgen::generate_simple_self_signed, key_pair::RsaKeySize

aws_lc_rs fips? = crypto

Enables aws-lc-rs

Affects key_pair::RsaKeySize

ring default = crypto

Enables ring

fips = aws_lc_rs

Enables fips of optional 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