rpassword

Crates.iorpassword
lib.rsrpassword
version7.4.0
created_at2015-02-11 15:15:30.055223+00
updated_at2025-04-20 14:56:12.930796+00
descriptionRead passwords in console applications.
homepagehttps://github.com/conradkleinespel/rpassword
repositoryhttps://github.com/conradkleinespel/rpassword
max_upload_size
id1382
size149,308
members (github:unbase:members)

documentation

https://docs.rs/rpassword/

README

Rustastic Password

rpassword makes it easy to read passwords from Rust code in console applications on all platforms, Unix, Windows, WASM and more. It's similar to Linux's C function getpass() or Python's getpass module.

rpassword logo and headline

rpassword is made available free of charge. You can support its development through Liberapay 💪

Usage

Add rpassword as a dependency in Cargo.toml:

[dependencies]
rpassword = "7.4"

See examples and docs at https://docs.rs/rpassword.

License

The source code is released under the Apache 2.0 license.

Commit count: 197

cargo fmt