6 releases (3 breaking)

0.8.0 Dec 28, 2022
0.7.0 Jul 23, 2022
0.6.2 Jun 29, 2022
0.5.1 Jun 26, 2022
0.5.0 Dec 31, 2021

#199 in Parser implementations

Download history 173990/week @ 2024-12-21 212599/week @ 2024-12-28 416427/week @ 2025-01-04 457352/week @ 2025-01-11 401090/week @ 2025-01-18 418914/week @ 2025-01-25 460989/week @ 2025-02-01 569742/week @ 2025-02-08 535188/week @ 2025-02-15 632360/week @ 2025-02-22 675352/week @ 2025-03-01 670163/week @ 2025-03-08 680902/week @ 2025-03-15 641404/week @ 2025-03-22 621791/week @ 2025-03-29 662775/week @ 2025-04-05

2,725,516 downloads per month
Used in 1,399 crates (33 directly)

MIT license

220KB
6.5K SLoC

SIMD-accelerated base64 encoding and decoding.

Examples

let bytes = b"hello world";
let base64 = base64_simd::STANDARD;

let encoded = base64.encode_to_string(bytes);
assert_eq!(encoded, "aGVsbG8gd29ybGQ=");

let decoded = base64.decode_to_vec(encoded).unwrap();
assert_eq!(decoded, bytes);

base64-simd

Crates.io Docs MIT licensed

SIMD-accelerated base64 encoding and decoding.

Documentation: https://docs.rs/base64-simd

Repository: https://github.com/Nugine/simd

Dependencies