Crate features / rsa
Feature flags · rsa 0.9.10 · from crates.io 2026-10-24
rsa features: what each one does, and the line to copy
Short answerrsa 0.9.10 has 8 features. By default it turns on std, pem, u64_digit; add default-features = false to start from nothing. It needs Rust 1.65 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
getrandom | rand_core/getrandom | |
hazmat | nothing else (a switch the code checks) | |
nightly | num-bigint/nightly | |
pem | yes | pkcs1/pem, pkcs8/pem |
pkcs5 | pkcs8/encryption | |
serde | dep:serde, num-bigint/serde | |
std | yes | digest/std, pkcs1/std, pkcs8/std, rand_core/std, signature/std |
u64_digit | yes | num-bigint/u64_digit |
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 rsa declares (rust-version), and the release that changed it:
- 0.7.0-pre (2022-05-24): Rust 1.57
- 0.9.0-pre.0 (2023-03-06): Rust 1.65
- 0.10.0-pre.0 (2024-01-19): Rust 1.72
- 0.10.0-pre.3 (2024-10-08): Rust 1.81
- 0.9.7 (2024-11-26): Rust 1.65
- 0.10.0-pre.4 (2025-02-14): Rust 1.83
- 0.9.8 (2025-03-12): Rust 1.65
- 0.10.0-rc.0 (2025-05-31): Rust 1.85
- 0.9.9 (2025-11-13): Rust 1.65
- 0.10.0-rc.11 (2026-01-03): Rust 1.85
- 0.9.10 (2026-01-06): Rust 1.65
- 0.10.0-rc.12 (2026-01-12): Rust 1.85
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p rsa --precise <version>, or use resolver 3, which picks compatible versions for you.
More on rsa
Real downloads, dependents and alternatives: rsa crate data (717.6K real downloads a day, 1,182 dependents).
Security record: rsa advisories.
docs.rs feature list · crates.io · license MIT OR Apache-2.0 · edition 2021
Up next
Before you depend on itrsa crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?