Crate features / der
Feature flags · der 0.8.2 · from crates.io 2026-10-24
der features: what each one does, and the line to copy
Short answerder 0.8.2 has 9 features. Nothing is on by default: turn on what you use. It needs Rust 1.85 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
alloc | zeroize?/alloc | |
arbitrary | dep:arbitrary, dep:derive_arbitrary, const-oid?/arbitrary, std | |
ber | nothing else (a switch the code checks) | |
bytes | dep:bytes, alloc | |
derive | dep:der_derive | |
oid | dep:const-oid | |
pem | dep:pem-rfc7468, alloc, zeroize | |
real | nothing else (a switch the code checks) | |
std | alloc |
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 der declares (rust-version), and the release that changed it:
- 0.5.1 (2021-11-17): Rust 1.56
- 0.4.5 (2021-12-01): no rust-version declared
- 0.6.0-pre.0 (2022-01-18): Rust 1.57
- 0.7.1 (2023-03-07): Rust 1.65
- 0.8.0-pre (2024-01-07): Rust 1.71
- 0.7.9 (2024-04-01): Rust 1.65
- 0.8.0-rc.0 (2024-07-26): Rust 1.71
- 0.7.10 (2025-04-18): Rust 1.65
- 0.8.0-rc.2 (2025-04-23): Rust 1.85
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p der --precise <version>, or use resolver 3, which picks compatible versions for you.
More on der
Real downloads, dependents and alternatives: der crate data (1.5M real downloads a day, 378 dependents).
docs.rs feature list · crates.io · license Apache-2.0 OR MIT · edition 2024
Up next
Before you depend on itder crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?