Crate features / base64
Feature flags · base64 0.23.1 · from crates.io 2026-10-24
base64 features: what each one does, and the line to copy
Short answerbase64 0.23.1 has 3 features. By default it turns on std, simd-unsafe; 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 |
|---|---|---|
alloc | nothing else (a switch the code checks) | |
simd-unsafe | yes | nothing else (a switch the code checks) |
std | yes | 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 base64 declares (rust-version), and the release that changed it:
- 0.20.0-alpha.1 (2021-12-14): Rust 1.47.0
- 0.13.1 (2022-10-21): no rust-version declared
- 0.20.0 (2022-12-10): Rust 1.57.0
- 0.21.1 (2023-05-22): Rust 1.60.0
- 0.21.2 (2023-05-25): Rust 1.57.0
- 0.21.3 (2023-08-26): Rust 1.48.0
- 0.23.0 (2026-07-23): Rust 1.71.0
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p base64 --precise <version>, or use resolver 3, which picks compatible versions for you.
More on base64
Real downloads, dependents and alternatives: base64 crate data (4.6M real downloads a day, 19,537 dependents).
Security record: base64 advisories.
docs.rs feature list · crates.io · license MIT OR Apache-2.0 · edition 2021
Up next
Before you depend on itbase64 crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?