| Crates.io | rust-string-random |
| lib.rs | rust-string-random |
| version | 0.1.0 |
| created_at | 2020-05-06 04:18:40.554793+00 |
| updated_at | 2020-05-06 04:18:40.554793+00 |
| description | easy to use random string generator |
| homepage | https://github.com/wslongchen/rust-string-random |
| repository | https://github.com/wslongchen/rust-string-random |
| max_upload_size | |
| id | 238070 |
| size | 4,354 |
easy to use random-string on rust
Can be installed with:
$ cargo build
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();
To setup the development envrionment run cargo run.
MrPan <1049058427@qq.com>