Update Rust crate secrecy to v0.10.1 #9466
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
=0.8.0->=0.10.1Release Notes
iqlusioninc/crates (secrecy)
v0.10.1Added
CloneforSecretString(#1217)v0.10.0This release represents a significant redesign of the
secrecycrate. We will update this sectionwith upgrade instructions based on feedback from people upgrading, as it's been a long time since
the previous release, and this release includes a number of breaking changes.
The most notable change is the generic
Secret<T>type has been removed: instead useSecretBox<T>which stores secrets on the heap instead of the stack. Many of the other changes fall out of this
change and things which were previously type aliases of
Secret<T>are now type aliases ofSecretBox<T>.This unfortunately means this crate no longer has support for "heapless"
no_stdtargets. We don'thave a good solution for these targets, which was a motivation for this change in the first place.
Added
SecretBox::{init_with, try_init_with}(#1212)SecretBox::init_with_mut(#1213)?Sizedbounds forSecretBox(#1213)SecretSlice<T>(#1214)Changed
SecretBox<T>is now a newtype rather than a type alias of `Secret<Box> (#1140)SecretStringis now a type alias forSecretBox<str>(#1213)serdedefault features (#1194)Removed
allocfeature: now a hard dependency (#1140)bytescrate integration: no replacement (#1140)DebugSecrettrait: no replacement (#1140)Secret<T>: useSecretBox<T>instead (#1140)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 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 was generated by Mend Renovate. View the repository job log.