gen_random

Crates.iogen_random
lib.rsgen_random
version0.1.4
sourcesrc
created_at2023-01-14 02:03:11.707367
updated_at2023-01-15 02:10:35.427652
descriptionA lib for generating random number by custom its length and kind.
homepagehttps://github.com/SunsJay/gen-random
repositoryhttps://github.com/SunsJay/gen-random
max_upload_size
id758634
size3,930
(SunsJay)

documentation

README

gen-random

A rust lib for generating custom random numbers

In most development scenarios, we need to generate random numbers that include letters, numbers, and sometimes sybomls.

So, this lib includes these functions, we just need to set length and kind of randmon number.

Example

use gen_random
// Custom random number's length and kind(number ? letter ? symbol ? or number and letter ...)
let random = Custom::new(5, CharSetKind::Number).generate();

`

Commit count: 13

cargo fmt