pwin 1.0.1

Simple Password Prompt
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
extern crate pwin

use pwin::pw;

fn main() {
    println!("Enter Username:");
    io::stdin().read_line(&mut username).expect("Failed to read username.");

    println!("Enter Password:");
    let password = pw::readpw();
    
    println!("{}, {}", username, password)
}