1 unstable release
0.1.0 | May 6, 2020 |
---|
#40 in #random-string
5KB
65 lines
rust-string-random
easy to use random-string on rust
Install
Can be installed with:
$ cargo build
Usage
use rust_string_random::{random, Options, RandWay};
let options = Options {
rand: RandWay::NORMAL,
numbers: None,
letters: None,
specials: None
};
let res = random(5,options);
let string = res.unwrap();
Developing
To setup the development envrionment run cargo run
.
Contributers
MrPan <1049058427@qq.com>
Dependencies
~1.4–2MB
~36K SLoC