Skip to content

Cross platform Rust library to read a password in the terminal (Linux, BSD, OSX, Windows, WASM).

License

Notifications You must be signed in to change notification settings

conradkleinespel/rpassword

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rustastic Password

rpassword makes it easy to read passwords from Rust code in console applications on all platforms, Unix, Windows, WASM and more. It's similar to Linux's C function getpass() or Python's getpass module.

rpassword logo and headline

rpassword is made available free of charge. You can support its development through Liberapay 💪

Usage

Add rpassword as a dependency in Cargo.toml:

[dependencies]
rpassword = "7.3"

See examples and docs at https://docs.rs/rpassword.

License

The source code is released under the Apache 2.0 license.