12 releases

0.3.1 Jun 16, 2025
0.3.0 Jun 16, 2025
0.2.1 Feb 6, 2025
0.2.0 Jan 4, 2025
0.1.4 May 22, 2024

#12 in #base64-encode

Download history 6/week @ 2025-08-18 3/week @ 2025-08-25 7/week @ 2025-09-01 3/week @ 2025-09-08 11/week @ 2025-09-15 8/week @ 2025-09-29 1/week @ 2025-10-06 6/week @ 2025-10-13 8/week @ 2025-10-20 4/week @ 2025-10-27

603 downloads per month
Used in 3 crates (2 directly)

GPL-3.0-only

28KB
478 lines

Base 64

This crate contains functions to encode and decode Base 64

Example

use rb64::{encode, decode};

let s = encode(b"Hello world!");
assert_eq!(s, "SGVsbG8gd29ybGQh");
let decoded = decode(&s).unwrap();
assert_eq!(&*decoded, b"Hello world!");

Rust Base 64

Library for Base 64 encoding and decoding

==== Copyright (C) 2025 Saúl Valdelvira

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3.

Dependencies

~0–13MB
~121K SLoC