3 unstable releases

0.2.1 Jul 19, 2022
0.2.0 Jun 30, 2022
0.1.0 Jun 28, 2022

#6 in #len

Download history 7/week @ 2024-03-25 25/week @ 2024-04-01 3/week @ 2024-05-06 6/week @ 2024-05-13 36/week @ 2024-05-20 19/week @ 2024-05-27 152/week @ 2024-06-03 57/week @ 2024-06-10 8/week @ 2024-06-17

222 downloads per month

BSD-2-Clause

11KB
260 lines

randstr

Generates random strings based on given alphabets

Example

use randstr::randstr;

let mut generator = randstr()
  .len(10)
  .all()
  .build();
let rand = generator.generate();
assert_eq!(10, rand.len());

Dependencies

~305KB