Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/conradkleinespel/rpassword
Cross platform Rust library to read a password in the terminal (Linux, BSD, OSX, Windows, WASM).
https://github.com/conradkleinespel/rpassword
getpass password rust
Last synced: 7 days ago
JSON representation
Cross platform Rust library to read a password in the terminal (Linux, BSD, OSX, Windows, WASM).
- Host: GitHub
- URL: https://github.com/conradkleinespel/rpassword
- Owner: conradkleinespel
- License: apache-2.0
- Created: 2015-02-03T13:17:08.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2023-12-16T14:01:21.000Z (11 months ago)
- Last Synced: 2024-07-10T22:29:38.810Z (4 months ago)
- Topics: getpass, password, rust
- Language: Rust
- Homepage:
- Size: 239 KB
- Stars: 237
- Watchers: 4
- Forks: 36
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE-APACHE
Awesome Lists containing this project
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.png)
`rpassword` is made available free of charge. You can support its development through [Liberapay](https://liberapay.com/conradkleinespel/) 💪
## Usage
Add `rpassword` as a dependency in Cargo.toml:
```toml
[dependencies]
rpassword = "7.3"
```See examples and docs at [https://docs.rs/rpassword](https://docs.rs/rpassword).
## License
The source code is released under the Apache 2.0 license.