2 stable releases
1.0.3 | Apr 30, 2023 |
---|---|
1.0.2 | Apr 27, 2023 |
#7 in #speedy
Used in jogger
8KB
112 lines
b64-rs
🏎️ A super speedy* base64 encoder 🏎️
*according to meUsage
use b64_rs::{encode,decode};
let encoded_string = encode("b64-rs goes 🏎️💨");
print!("{encoded_string}");
// => YjY0LXJzIGdvZXMg8J+Pju+4j/Cfkqg=
let decoded_string = decode(&encoded_string);
print!("decoded_string");
// => b64-rs goes 🏎️💨
b64-rs is lightweight, and requires no dependencies. Ez.
💛