pass/pass.rs
1// Copyright 2025 Steven Dee.
2//
3// This project is dual licensed under the MIT and Apache 2.0 licenses. See
4// the LICENSE file in the project root for details.
5//
6// The readpassphrase source and header are copyright 2000-2002, 2007, 2010
7// Todd C. Miller.
8
9use readpassphrase_3::getpass;
10
11fn main() {
12 let password = getpass(c"Password: ").expect("failed reading password");
13 println!("{password}");
14}