Thanks to visit codestin.com
Credit goes to lib.rs

Cargo Features

[dependencies]
rcgen = { version = "0.14.5", default-features = false, features = ["aws_lc_rs", "aws_lc_rs_unstable", "fips", "crypto", "ring", "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.

aws_lc_rs aws_lc_rs_unstable? = crypto

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

Affects key_pair::RsaKeySize

aws_lc_rs_unstable = aws_lc_rs

Enables unstable of aws-lc-rs

fips = crypto

Enables fips of aws-lc-rs

aws-lc-rs:

require FIPS

crypto default aws_lc_rs? fips? ring

Affects key_pair::KeyPair, rcgen::generate_simple_self_signed, key_pair::RsaKeySize

ring default = crypto

Enables ring

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