Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/replicadse/ez_alphabet
https://github.com/replicadse/ez_alphabet
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/replicadse/ez_alphabet
- Owner: replicadse
- License: mit
- Created: 2024-04-24T20:01:29.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2024-07-24T10:06:06.000Z (4 months ago)
- Last Synced: 2024-10-06T04:23:01.163Z (about 1 month ago)
- Language: Rust
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: docs/README.md
- License: LICENSE
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"]);
```