6 releases (3 breaking)

Uses old Rust 2015

0.4.0 Dec 3, 2017
0.3.0 Jan 8, 2017
0.2.0 Dec 31, 2016
0.1.2 Dec 28, 2016

#1118 in Authentication

MIT license

7KB
99 lines

rpwg

Crates.io

Random password generator.

Installation

You can use the cargo install command:

$ cargo install rpwg

or a classic build and run:

$ git clone https://github.com/n2kia4/rpwg.git
$ cd rpwg
$ cargo build --release && cargo run --release

Options

You can check by typing rpwg -h:

USAGE:
    rpwg [FLAGS] [OPTIONS]

FLAGS:
    -U               Don't include uppercase letters
    -D               Don't include digits
    -S               Don't include symbols
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -l, --length <length>                Length of the password [default: 8]
    -n, --num_pw <num_pw>                Number of passwords [default: 10]
    -c, --lower_count <lower_count>      Minimum number of lowercase letters to include in password [default: 1]
    -u, --upper_count <upper_count>      Minimum number of uppercase letters to include in password [default: 1]
    -d, --digits_count <digits_count>    Minimum number of digits to include in password [default: 1]
    -s, --symbol_count <symbol_count>    Minimum number of symbols to include in password [default: 1]

Dependencies

~2MB
~32K SLoC