pwin 0.1.2

Simple Password Prompt
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
This is a simple library to get a password without the text echoing on the terminal. It only has one function and t's made to allow beginner developers to prompt users for passwords relatively easily.

Importing:

    use pwin::pw;


Usage:

    fn main() {
        print!("Enter Password:")
        let passwd = pw::readpw();
    }


Simple. Takes no arguments and returns a non-mutable String that you can cast or use however you need to.