Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Rust crate secrecy to v0.10.1 #9466

Merged
merged 2 commits into from
Sep 18, 2024
Merged

Update Rust crate secrecy to v0.10.1 #9466

merged 2 commits into from
Sep 18, 2024

Conversation

renovate[bot]
Copy link
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.1

Release Notes

iqlusioninc/crates (secrecy)

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: 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot changed the title Update Rust crate secrecy to v0.10.0 Update Rust crate secrecy to v0.10.1 Sep 18, 2024
Copy link

codecov bot commented Sep 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (main@3e0da33). Learn more about missing BASE report.
Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #9466   +/-   ##
=======================================
  Coverage        ?   89.10%           
=======================================
  Files           ?      286           
  Lines           ?    29035           
  Branches        ?        0           
=======================================
  Hits            ?    25871           
  Misses          ?     3164           
  Partials        ?        0           

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

@Turbo87 Turbo87 merged commit 4245dfd into main Sep 18, 2024
10 checks passed
@Turbo87 Turbo87 deleted the renovate/secrecy-0.x branch September 18, 2024 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant