Crate random_str

Source
Expand description

This crate provides a set of functions to generate random strings, numbers, letters, symbols and booleans.

Functionsยง

get_bool
Get a random boolean value
get_char
get_int
Get a random number (i32) from a minimum and maximum value
get_letter
Get a random char from a-z or A-Z
get_string
Get a random string with a given length and a set of characters
get_symbol
Get a random symbol from a list of symbols Possible symbols are: #, $, %, &, *, @, ^