1 unstable release

0.1.1 Apr 24, 2024
0.1.0 Apr 24, 2024

#4 in #ez

Download history 116/week @ 2024-04-18 156/week @ 2024-04-25 8/week @ 2024-05-02

280 downloads per month

MIT license

7KB
111 lines

EZ Alphabet

An implementation of an easy to work with alphabet.

Examples

// Following example creates 4 strings, encoding the numbers 4 to 8 (start: 4, count: 5) in the given alphabet.
assert_eq!(Alphabet::from("abcdef").unwrap().generate(4, 5), vec!["e", "f", "aa", "ab", "ac"]);

Dependencies

~180KB