Skip to content

v2.0.0

Compare
Choose a tag to compare
@conradkleinespel conradkleinespel released this 17 Oct 19:10
· 93 commits to master since this release
  • Thanks to @DaveLancaster, you can now read passwords from anything that implements std::io::BufRead: #20. This makes mocking STDIN easier for tests.
  • Deprecated functions have been removed. Use rprompt to read input other than passwords from the command line.

Easy upgrade path:

  • Upgrade to rpassword:1.0.2,
  • Handle any deprecation notices,
  • Upgrade to rpassword:2.0.0.

Breaking changes:

  • Deprecated functions were removed,
  • A new function was introduced. In most cases, this won't break your code, but it might break your code if you have something like this:
use rpassword::*;
use foobar as read_password_from_reader;