3 unstable releases
0.2.1 | Jul 19, 2022 |
---|---|
0.2.0 | Jun 30, 2022 |
0.1.0 | Jun 28, 2022 |
#5 in #len
148 downloads per month
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
~310KB