pwquality-sys

Crates.iopwquality-sys
lib.rspwquality-sys
version0.2.0
sourcesrc
created_at2017-11-26 16:14:51.096558
updated_at2017-11-26 16:14:51.096558
descriptionBinding for pwquality.
homepagehttps://github.com/satabin/pwquality-rs
repositoryhttps://github.com/satabin/pwquality-rs
max_upload_size
id40577
size6,067
Lucas Satabin (satabin)

documentation

README

pwquality

pwquality binding for rust.

Usage

Add the dependency to your Cargo.toml file.

[dependencies]
pwquality = "0.2"

Then import it in your code.

extern crate pwquality;

For example:

use pwquality::PWQuality;

let pwq = PWQuality::new();

pwq.set_min_length(32);

let generated = pwq.generate_password(256);
Commit count: 9

cargo fmt