Crates.io | random_password_generator |
lib.rs | random_password_generator |
version | 0.1.0 |
source | src |
created_at | 2024-06-19 23:28:47.017848 |
updated_at | 2024-06-19 23:28:47.017848 |
description | Rust library to generate random passwords, you can define whether the password will have alphabetical, numeric or special characters. |
homepage | |
repository | |
max_upload_size | |
id | 1277437 |
size | 7,089 |
Rust library to generate random passwords, you can define whether the password will have alphabetical, numeric or special characters.
To use random_password_generator
in your Rust project, add it as a dependency in your Cargo.toml
:
[dependencies]
random_password_generator = "0.1.0"
```rust
use random_password_generator::generate_password;
fn main() {
let random_letter = generate_password(true, true,true, 5);
println!("new password generated: {}", random_letter)
}