ez_alphabet

Crates.ioez_alphabet
lib.rsez_alphabet
version0.1.1
sourcesrc
created_at2024-04-24 20:05:03.226048
updated_at2024-04-24 20:43:17.47477
descriptionEZ Alphabets.
homepagehttps://github.com/replicadse/ez_alphabet
repositoryhttps://github.com/replicadse/ez_alphabet
max_upload_size
id1219461
size10,425
Alexander Weber (replicadse)

documentation

README

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"]);
Commit count: 3

cargo fmt