Crate features / pem
Feature flags · pem 4.0.0 · from crates.io 2026-10-24
pem features: what each one does, and the line to copy
Short answerpem 4.0.0 has 2 features. By default it turns on std; add default-features = false to start from nothing. It needs Rust 1.71.0 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
serde | dep:serde_core | |
std | yes | base64/std, serde_core?/std |
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 pem declares (rust-version), and the release that changed it:
- 2.0.0 (2023-03-21): Rust 1.67.0
- 2.0.1 (2023-04-05): Rust 1.60.0
- 4.0.0 (2026-07-28): Rust 1.71.0
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p pem --precise <version>, or use resolver 3, which picks compatible versions for you.
More on pem
Real downloads, dependents and alternatives: pem crate data (1M real downloads a day, 419 dependents).
docs.rs feature list · crates.io · license MIT · edition 2021
Up next
Before you depend on itpem crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?