Crate features / jsonwebtoken
Feature flags · jsonwebtoken 11.1.0 · from crates.io 2026-10-24
jsonwebtoken features: what each one does, and the line to copy
Short answerjsonwebtoken 11.1.0 has 3 features. By default it turns on use_pem; add default-features = false to start from nothing. It needs Rust 1.88.0 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
aws_lc_rs | dep:aws-lc-rs | |
rust_crypto | dep:ed25519-dalek, dep:hmac, dep:p256, dep:p384, dep:rand, dep:rsa, dep:sha2 | |
use_pem | yes | dep:pem, dep:simple_asn1 |
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 jsonwebtoken declares (rust-version), and the release that changed it:
- 8.3.0 (2023-03-15): Rust 1.56.0
- 9.0.0 (2023-10-16): Rust 1.67.0
- 9.3.0 (2024-03-21): Rust 1.73.0
- 10.0.0 (2025-09-29): Rust 1.85.0
- 10.4.0 (2026-05-11): Rust 1.88.0
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p jsonwebtoken --precise <version>, or use resolver 3, which picks compatible versions for you.
More on jsonwebtoken
Real downloads, dependents and alternatives: jsonwebtoken crate data (698.4K real downloads a day, 2,010 dependents).
Security record: jsonwebtoken advisories.
docs.rs feature list · crates.io · license MIT · edition 2024
Up next
Before you depend on itjsonwebtoken crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?