rust-string-random

Crates.iorust-string-random
lib.rsrust-string-random
version0.1.0
sourcesrc
created_at2020-05-06 04:18:40.554793
updated_at2020-05-06 04:18:40.554793
descriptioneasy to use random string generator
homepagehttps://github.com/wslongchen/rust-string-random
repositoryhttps://github.com/wslongchen/rust-string-random
max_upload_size
id238070
size4,354
潘安 (wslongchen)

documentation

README

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>
Commit count: 2

cargo fmt