Rustastic Password
This Rust package allows you to safely read passwords from standard input in a console application.
You can build the documentation with cargo doc or view it online.
The source code is released under the Apache 2.0 license.
I'd appreciate feedback if you use this library :-)
Usage
Add rpassword as a dependency in Cargo.toml:
[]
= "0.3"
Import the rpassword crate and use the promt_password_stdout() function to show a message on stdout and read a password into a String:
extern crate rpassword;
use read_password;
Check examples/example.rs for a few more examples.