Update Rust crate secrecy to 0.10.3 #6722
Open
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.3
Release Notes
iqlusioninc/crates (secrecy)
v0.10.3
Added
SecretSlice
s cloneable (#1236)From<&str>
forSecretString
(#1237)v0.10.2
Added
Deserialize
forSecretString
(#1220)v0.10.1
Added
Clone
forSecretString
(#1217)v0.10.0
This release represents a significant redesign of the
secrecy
crate. 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_std
targets. 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)?Sized
bounds forSecretBox
(#1213)SecretSlice<T>
(#1214)Changed
SecretBox<T>
is now a newtype rather than a type alias of `Secret<Box> (#1140)SecretString
is now a type alias forSecretBox<str>
(#1213)serde
default features (#1194)Removed
alloc
feature: now a hard dependency (#1140)bytes
crate integration: no replacement (#1140)DebugSecret
trait: no replacement (#1140)Secret<T>
: useSecretBox<T>
instead (#1140)Configuration
📅 Schedule: Branch creation - "after 8pm,before 6am" in timezone America/Los_Angeles, Automerge - "after 8pm,before 6am" in timezone America/Los_Angeles.
🚦 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 Renovate Bot.