Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/replicadse/ez_alphabet


https://github.com/replicadse/ez_alphabet

Last synced: 5 days ago
JSON representation

Awesome Lists containing this project

README

        

# EZ Alphabet

An implementation of an easy to work with alphabet.

## Examples

```rust
// 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"]);
```