An open API service indexing awesome lists of open source software.

https://github.com/batmac/generand

crate to generate random sequences from your string/vec/iterator symbols.
https://github.com/batmac/generand

Last synced: about 1 year ago
JSON representation

crate to generate random sequences from your string/vec/iterator symbols.

Awesome Lists containing this project

README

          

# generand
[![Rust](https://github.com/batmac/generand/actions/workflows/rust.yml/badge.svg)](https://github.com/batmac/generand/actions/workflows/rust.yml)
![Crates.io](https://img.shields.io/crates/v/generand)
![GitHub](https://img.shields.io/github/license/batmac/generand)

crate to generate random sequences from your string/vec/iterator symbols.

- `cargo install generand --features=bin` to install the cli tool `generand`:

```
USAGE:
generand [OPTIONS] [DICTIONARY]

ARGS:

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

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

( or add `generand` in dependencies in your Cargo.toml to use the crate.)