forked from opendevtools/base45
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlib.rs
More file actions
25 lines (22 loc) · 775 Bytes
/
Copy pathlib.rs
File metadata and controls
25 lines (22 loc) · 775 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
//! Encoder/decoder for base45 that is fully compatible with
//! [`draft-faltstrom-base45-07.txt`](https://www.ietf.org/archive/id/draft-faltstrom-base45-07.txt)
//!
//! ```rust,no_run
//! # fn main() {
//! let encoded = base45::encode("Hello!!");
//! # }
//! ```
//!
//! Features:
//!
//! - `array_chunks`, which is using experimental array and const-generic features. For information & tracking, see
//! [rust/rust#74985](https://github.com/rust-lang/rust/issues/74985). If not enabled, this uses
//! [`core::slice::ChunksExact`](https://doc.rust-lang.org/core/slice/struct.ChunksExact.html).
//! Ideally, there is no performance penalty using this means.
pub mod alphabet;
mod decode;
mod encode;
pub use decode::*;
pub use encode::*;
#[cfg(test)]
mod tests;