Crate features / rcgen
Feature flags · rcgen 0.14.10 · from crates.io 2026-10-24
rcgen features: what each one does, and the line to copy
Short answerrcgen 0.14.10 has 5 features. By default it turns on crypto, pem, ring; add default-features = false to start from nothing. It needs Rust 1.88 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
aws_lc_rs | crypto, dep:aws-lc-rs, aws-lc-rs/aws-lc-sys, x509-parser?/verify-aws | |
aws_lc_rs_unstable | aws_lc_rs | |
crypto | yes | nothing else (a switch the code checks) |
fips | crypto, dep:aws-lc-rs, aws-lc-rs/fips | |
ring | yes | crypto, dep:ring, x509-parser?/verify |
dep:x turns on the optional dependency x; x/y turns on feature y of dependency x (with ?, only if x is already on).
MSRV history
The minimum Rust version rcgen declares (rust-version), and the release that changed it:
- 0.14.1 (2025-07-02): Rust 1.71
- 0.14.8 (2026-05-11): Rust 1.88
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p rcgen --precise <version>, or use resolver 3, which picks compatible versions for you.
More on rcgen
Real downloads, dependents and alternatives: rcgen crate data (461.4K real downloads a day, 2,172 dependents).
docs.rs feature list · crates.io · license MIT OR Apache-2.0 · edition 2021
Up next
Before you depend on itrcgen crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?