Crates.io | ez_alphabet |
lib.rs | ez_alphabet |
version | 0.1.1 |
source | src |
created_at | 2024-04-24 20:05:03.226048 |
updated_at | 2024-04-24 20:43:17.47477 |
description | EZ Alphabets. |
homepage | https://github.com/replicadse/ez_alphabet |
repository | https://github.com/replicadse/ez_alphabet |
max_upload_size | |
id | 1219461 |
size | 10,425 |
An implementation of an easy to work with alphabet.
// 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"]);