fix(deps): update rust crate secrecy to 0.10 #35

Merged
kemitix merged 1 commit from renovate/secrecy-0.x into main 2024-09-18 07:56:19 +01:00
Collaborator

This PR contains the following updates:

Package Type Update Change
secrecy (source) dependencies minor 0.8 -> 0.10

Release Notes

iqlusioninc/crates (secrecy)

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
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 for SecretBox<str> (#​1213)
  • Disable 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>: use SecretBox<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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [secrecy](https://github.com/iqlusioninc/crates) ([source](https://github.com/iqlusioninc/crates/tree/HEAD/secrecy)) | dependencies | minor | `0.8` -> `0.10` | --- ### Release Notes <details> <summary>iqlusioninc/crates (secrecy)</summary> ### [`v0.10.0`](https://github.com/iqlusioninc/crates/blob/HEAD/secrecy/CHANGELOG.md#0100-2024-09-17) 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}` ([#&#8203;1212]) - `SecretBox::init_with_mut` ([#&#8203;1213]) - `?Sized` bounds for `SecretBox` ([#&#8203;1213]) - `SecretSlice<T>` ([#&#8203;1214]) ##### Changed - Rust 2021 edition upgrade ([#&#8203;889]) - MSRV 1.60 ([#&#8203;1105]) - `SecretBox<T>` is now a newtype rather than a type alias of \`Secret\<Box<T>> ([#&#8203;1140]) - `SecretString` is now a type alias for `SecretBox<str>` ([#&#8203;1213]) - Disable `serde` default features ([#&#8203;1194]) ##### Removed - `alloc` feature: now a hard dependency ([#&#8203;1140]) - `bytes` crate integration: no replacement ([#&#8203;1140]) - `DebugSecret` trait: no replacement ([#&#8203;1140]) - `Secret<T>`: use `SecretBox<T>` instead ([#&#8203;1140]) [#&#8203;889]: https://github.com/iqlusioninc/crates/pull/889 [#&#8203;1105]: https://github.com/iqlusioninc/crates/pull/1105 [#&#8203;1140]: https://github.com/iqlusioninc/crates/pull/1140 [#&#8203;1194]: https://github.com/iqlusioninc/crates/pull/1194 [#&#8203;1212]: https://github.com/iqlusioninc/crates/pull/1212 [#&#8203;1213]: https://github.com/iqlusioninc/crates/pull/1213 [#&#8203;1214]: https://github.com/iqlusioninc/crates/pull/1214 </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC44Ni4wIiwidXBkYXRlZEluVmVyIjoiMzguODYuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
renovate added 1 commit 2024-09-18 00:16:56 +01:00
fix(deps): update rust crate secrecy to 0.10
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/cron/woodpecker Pipeline was successful
d90a1c42c8
kemitix merged commit d90a1c42c8 into main 2024-09-18 07:56:19 +01:00
kemitix deleted branch renovate/secrecy-0.x 2024-09-18 07:56:20 +01:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: kemitix/kxio#35
No description provided.