Cargo Features

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

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

aws_lc_rs

Enables aws-lc-rs

ring default

Enables ring

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

pem default
x509-parser implicit feature

Enables x509-parser

x509-parser:

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

zeroize implicit feature