| Crates.io | permut_lib |
| lib.rs | permut_lib |
| version | 0.1.2 |
| created_at | 2020-06-03 11:19:35.141775+00 |
| updated_at | 2020-06-04 04:16:44.773973+00 |
| description | Simple function to generate permutations on a dictionry of a u8 chars set. I used it for generate unic Items into my proc macros. |
| homepage | |
| repository | https://github.com/Cergoo/permut_lib |
| max_upload_size | |
| id | 249625 |
| size | 6,808 |
This crate provide simple function to generate permutations on a dictionry of a u8 chars set. I used it for generate unic Items into my proc macros
pub fn create_permut(chars: &[u8], count: usize) -> Vec<Vec<u8>>
Universal function for generate unic sequences of u8 chars, like "A", "B", "C", ... , "AA", "AB", ..., "AAAAAB",...
use permut_lib::permut::*;
create_permut(CHARS_CAPS_LATIN, 195); // result: "A", "B", "C", ... , "AA", "AB" ...