Crate features / pkcs1
Feature flags · pkcs1 0.7.5 · from crates.io 2026-10-24
pkcs1 features: what each one does, and the line to copy
Short answerpkcs1 0.7.5 has 4 features. Nothing is on by default: turn on what you use. It needs Rust 1.60 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
alloc | der/alloc, zeroize, pkcs8?/alloc | |
pem | alloc, der/pem, pkcs8?/pem | |
std | der/std, alloc | |
zeroize | der/zeroize |
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 pkcs1 declares (rust-version), and the release that changed it:
- 0.3.0 (2021-11-17): Rust 1.56
- 0.4.0-pre.2 (2022-05-05): Rust 1.57
- 0.7.1 (2023-03-06): Rust 1.60
- 0.8.0-pre.0 (2024-01-08): Rust 1.71
- 0.8.0-rc.0 (2024-07-26): Rust 1.72
- 0.8.0-rc.2 (2025-05-30): Rust 1.85
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p pkcs1 --precise <version>, or use resolver 3, which picks compatible versions for you.
More on pkcs1
Real downloads, dependents and alternatives: pkcs1 crate data (704.1K real downloads a day, 65 dependents).
docs.rs feature list · crates.io · license Apache-2.0 OR MIT · edition 2021
Up next
Before you depend on itpkcs1 crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?