Skip to content

Update Rust crate secrecy to 0.10.0#81

Merged
renovate[bot] merged 1 commit intomainfrom
renovate/secrecy-0.x
Jun 13, 2025
Merged

Update Rust crate secrecy to 0.10.0#81
renovate[bot] merged 1 commit intomainfrom
renovate/secrecy-0.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Sep 18, 2024

This PR 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.3

Added
  • Make integer primitive SecretSlices cloneable (#​1236)
  • Impl From<&str> for SecretString (#​1237)

v0.10.2

Added
  • Impl Deserialize for SecretString (#​1220)

v0.10.1

Added
  • Impl Clone for SecretString (#​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
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: Enabled.

Rebasing: Whenever PR is behind base branch, 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot enabled auto-merge (squash) September 18, 2024 00:42
@renovate renovate Bot assigned jdno Sep 18, 2024
@renovate renovate Bot requested a review from jdno September 18, 2024 04:01
@renovate renovate Bot force-pushed the renovate/secrecy-0.x branch 3 times, most recently from 0786582 to 12c2d4e Compare September 24, 2024 21:59
@renovate renovate Bot force-pushed the renovate/secrecy-0.x branch 4 times, most recently from c65356c to 4edccfa Compare October 1, 2024 22:34
@renovate renovate Bot force-pushed the renovate/secrecy-0.x branch 3 times, most recently from 8af81c2 to 8a7baa2 Compare October 12, 2024 13:54
@renovate renovate Bot force-pushed the renovate/secrecy-0.x branch 9 times, most recently from cd6518e to 8489be2 Compare October 22, 2024 22:45
@renovate renovate Bot force-pushed the renovate/secrecy-0.x branch 3 times, most recently from 93683ec to 07e6a4b Compare November 4, 2024 14:00
@renovate renovate Bot force-pushed the renovate/secrecy-0.x branch 5 times, most recently from 2f2e8b3 to 8f1c2eb Compare November 12, 2024 10:56
@renovate renovate Bot force-pushed the renovate/secrecy-0.x branch 3 times, most recently from 6f7a14c to 986bb2b Compare December 11, 2024 06:35
@renovate renovate Bot force-pushed the renovate/secrecy-0.x branch 3 times, most recently from d50a72e to 77297e1 Compare December 22, 2024 16:18
@renovate renovate Bot force-pushed the renovate/secrecy-0.x branch 6 times, most recently from a7783e8 to 00e794b Compare January 3, 2025 09:45
@renovate renovate Bot force-pushed the renovate/secrecy-0.x branch 5 times, most recently from 2c7c3a4 to dd50d97 Compare January 9, 2025 21:27
@renovate renovate Bot force-pushed the renovate/secrecy-0.x branch 5 times, most recently from d3193d9 to 18f4881 Compare January 21, 2025 05:51
@renovate renovate Bot force-pushed the renovate/secrecy-0.x branch 2 times, most recently from 919647a to 7b70bf5 Compare January 29, 2025 00:41
@renovate renovate Bot force-pushed the renovate/secrecy-0.x branch 2 times, most recently from dcedba8 to 8d37a79 Compare February 4, 2025 05:38
@renovate renovate Bot force-pushed the renovate/secrecy-0.x branch 2 times, most recently from e3b6d2f to bbabc3f Compare February 16, 2025 06:55
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.96%. Comparing base (ca95f3a) to head (e4f2349).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #81   +/-   ##
=======================================
  Coverage   81.96%   81.96%           
=======================================
  Files           7        7           
  Lines         122      122           
=======================================
  Hits          100      100           
  Misses         22       22           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants