Expand description

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

Structs

The generator to produce new random strings.

Builder for generating random strings.

Enums

Error Type of randstr

Functions

Creates a new RandStrBuilder.