#random #generate #sequences #symbols #tool #dictionary #string-vec-iterator

bin+lib generand

从你的字符串/vec/迭代器符号生成随机序列

2 个稳定版本

1.0.1 2022年5月28日
1.0.0 2022年5月27日

#34 in #sequences

MIT/Apache

11KB
191

generand

crate,用于从您的字符串/vec/迭代器符号生成随机序列。

--features=bin 编译命令行工具 generand

USAGE:
    generand [OPTIONS] [DICTIONARY]

ARGS:
    <DICTIONARY>

OPTIONS:
    -c, --cats
    -d, --digits
    -f, --full
    -h, --hex
        --help               Print help information
    -n, --number <NUMBER>    [default: 1]
    -s, --size <SIZE>        [default: 12]
    -V, --version            Print version information

示例

$ generand -n 15                       
LE8Nd1gemH5g Pe17VgBKe74U 4bbNdQ16mWIp hxNMwlqoHD8W 3Wd2EEBKdhxw aVuXwSvUP4im 
Yhmx6KP2bdyI iincIf6FUdqp GrA5l5VlJJKT ldZBH2AlhDsf nTTYWvlXW5Ss e3FHFVNQ5PrO 
Wo97SaSIewBG O6OCdQVblgsH h1ypG5vMv65a 

依赖项

~0.2–1MB
~15K SLoC