Update Rust crate rpassword to v7 #26
No reviewers
Labels
No labels
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
rust
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
navicore/anz!26
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "renovate/rpassword-7.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
5→7Release Notes
conradkleinespel/rpassword (rpassword)
v7.5.3Compare Source
Fixes compile errors with Rust 1.85. Thanks @nwalfield for reporting in #130.
Backwards compatible. No breaking change.
v7.5.2Compare Source
Fixes a Unicode parsing bug which could lead to unwarranted panic (
6c19a1e).Backwards compatible. No breaking change.
v7.5.1Compare Source
This release fixes a cross-platform compilation issue that appeared in v.7.5.0 (
60ee071).Thanks @aharpervc for bringing this to my attention in #126.
Backwards compatible. No breaking change.
v7.5.0Compare Source
This release comes with lots of stuff. It should be fully backward compatible.
New features
read_password_with_config(config)and there is aConfigBuilderthat allows you to configure how passwords should be read. This makes the library much more flexible and means new options will be added without breaking existing code.Fixes
rpasswordon versions v7.4.0 and below. Thank you, @squell and @DevLaTron, for reporting this.Deprecations
_from_bufreadfunctions have been deprecated. You are encouraged to migrate to_with_configfunctions. See UPGRADE.md as well as the documentation which has examples that you can most likely drop into your code without other changes.Misc
windows-sysdependency.Feedback is very much welcome.
v7.4.0Compare Source
Changes and updates in this release:
windows-sysfrom0.52to0.59, seecb2244a;rtoolboxcrate (https://github.com/conradkleinespel/rtoolbox). Thank you @Jordan-Haidee for providing a fix in #97.I've noticed after publishing the release that the size of the crate on crates.io went from
7KiBto121KiB. That's due to the addition of an image in theREADME.md, which I did not anticipate would be distributed to everyone. The fix (7c30111) will be included in the next release.No functionality changes in this release. It is backwards compatible.
v7.3.1Compare Source
This release updates the
README.md, so the latest version appears on crates.io.No functionality changes in this release. It is backwards compatible.
v7.3.0Compare Source
The
winapipackage has been replaced with thewindows-syspackage developed by Microsoft. Thanks for your help, @messense!No functionality changes in this release. It is backwards compatible.
v7.2.0Compare Source
This release completely removes the dependency on
serde. It adds a new dependencyrtoolboxwhich are utility functions I use in multiple projects. This change is meant to improve supply chain security. I don't ownserdebut I do ownrtoolbox. Code forrtoolboxis available here: https://github.com/conradkleinespel/rtoolbox.No functionality changes in this release. It is backwards compatible.
v7.1.0Compare Source
This release includes a fix from @LSchallot which allows users to hit Ctrl-U to remove the password and start from scratch, similar to when you hit Ctrl-U in your terminal to clear the line.
It also specifies a minimum Rust version in
Cargo.toml.v7.0.0Compare Source
This release contains a potentially breaking change in that it removes the dependency on
serde. But in most cases you should not need to change any of your code. Thanks @BlackHoleFox for the help.Thanks also @NovaliX-Dev for fixing a bug on Windows, see
3858917.You will need at least Rust 1.60 to use this new release.
v6.0.1Compare Source
No code changes. Updated docs so they display correctly on sites such as https://docs.rs/rpassword and https://crates.io/crates/rpassword.
v6.0.0Compare Source
This release contains breaking changes.
Notable changes:
The API has changed from:
To:
By default, reading and writing is done from/to the TTY instead of stdin/stdout. This is more reliable for most cases. If you need to read or write from/to a different place, the function versions with
from_bufreadallow you to pass anything you'd like.Configuration
📅 Schedule: (UTC)
* 8-9 * * 1,4)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate.