8 lines
175 B
Rust
8 lines
175 B
Rust
//! This example demonstrates how to read a password from the tty.
|
|
|
|
extern crate rpassword;
|
|
|
|
fn main() {
|
|
rpassword::read_password_from_tty(Some("Password: ")).unwrap();
|
|
}
|