randstr 0.2.1

Generates random strings
Documentation

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());