#base64 #encoding #padding #method #string

lib-base64

A base64 (with padding) encoding and decoding library, which implements the encode() and decode() methods for the String type

7 stable releases

Uses new Rust 2021

2.0.3 Oct 21, 2021
2.0.2 Aug 13, 2021
2.0.0 Aug 7, 2020
1.0.3 Jul 30, 2020
1.0.1 Jun 15, 2020

#449 in Encoding

Download history 7/week @ 2021-09-27 3/week @ 2021-10-04 7/week @ 2021-10-11 21/week @ 2021-10-18 5/week @ 2021-10-25 2/week @ 2021-11-01 16/week @ 2021-11-08 26/week @ 2021-11-15 26/week @ 2021-11-22 20/week @ 2021-11-29 17/week @ 2021-12-06 11/week @ 2021-12-13 24/week @ 2021-12-20 24/week @ 2021-12-27 20/week @ 2022-01-03 23/week @ 2022-01-10

91 downloads per month
Used in base64-lt

MIT license

9KB
163 lines

lib-base64

Current Crates.io Version Downloads badge

A base64 (with padding) encoding and decoding library, which implements the encode() and decode() methods for the String type.

Example:

use lib_base64::Base64;
let s = String::from("Test");
assert_eq!(Ok(String::from("VGVzdA==")), s.encode())
use lib_base64::Base64;
let s = String::from("VGVzdA==");
assert_eq!(Ok(String::from("Test")), s.decode())

License: MIT


lib.rs:

A base64 (with padding) encoding and decoding library, which implements the encode() and decode() methods for the String type.

No runtime deps

;qa