pwin

Crates.iopwin
lib.rspwin
version1.0.1
sourcesrc
created_at2024-03-02 13:31:46.945069
updated_at2024-03-05 20:17:00.303972
descriptionSimple Password Prompt
homepagehttps://www.github.com/rexsum420/pwin
repositoryhttps://www.github.com/rexsum420/pwin
max_upload_size
id1159707
size6,196
(rexsum420)

documentation

https://www.github.com/rexsum420/pwin/README.md

README

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:

extern crate pwin;
use crate::pwin::readpw;

Usage:

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

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

Commit count: 0

cargo fmt