fix(deps): update rust crate secrecy to 0.10.0
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
secrecy (source) | dependencies | minor |
0.8.0 -> 0.10.0
|
Release Notes
iqlusioninc/crates (secrecy)
v0.10.2
Added
- Impl
Deserialize
forSecretString
(#1220)
v0.10.1
Added
- Impl
Clone
forSecretString
(#1217)
v0.10.0
This release represents a significant redesign of the secrecy
crate. We will update this section
with 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 use SecretBox<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 of
SecretBox<T>
.
This unfortunately means this crate no longer has support for "heapless" no_std
targets. We don't
have 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
- Rust 2021 edition upgrade (#889)
- MSRV 1.60 (#1105)
-
SecretBox<T>
is now a newtype rather than a type alias of `Secret<Box> (#1140) -
SecretString
is now a type alias forSecretBox<str>
(#1213) - Disable
serde
default features (#1194)
Removed
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.