#random-string #random #string #string-random

no-std rust-string-random

easy to use random string generator

1 unstable release

0.1.0 May 6, 2020

#30 in #random-string

MIT license

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

~520KB