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 0.10.3 #6722

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

oxide-renovate[bot]
Copy link
Contributor

@oxide-renovate oxide-renovate bot commented Sep 28, 2024

This PR contains the following updates:

Package Type Update Change
secrecy (source) workspace.dependencies minor 0.8.0 -> 0.10.3

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 - "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.


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

This PR has been generated by Renovate Bot.

@oxide-renovate oxide-renovate bot added the dependencies Pull requests that update a dependency file label Sep 28, 2024
@oxide-renovate
Copy link
Contributor Author

oxide-renovate bot commented Sep 28, 2024

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path Cargo.toml --package [email protected] --precise 0.10.3
    Updating crates.io index
error: failed to select a version for the requirement `secrecy = "^0.8.0"`
candidate versions found which didn't match: 0.10.3
location searched: crates.io index
required by package `sprockets-tls v0.1.0 (https://github.com/oxidecomputer/sprockets.git?rev=cc13773832df1e38257cdc511adfaad72954bbe1#cc137738)`
    ... which satisfies git dependency `sprockets-tls` (locked to 0.1.0) of package `omicron-sled-agent v0.1.0 (/tmp/renovate/repos/github/oxidecomputer/omicron/sled-agent)`
    ... which satisfies path dependency `omicron-sled-agent` (locked to 0.1.0) of package `nexus-test-utils v0.1.0 (/tmp/renovate/repos/github/oxidecomputer/omicron/nexus/test-utils)`
    ... which satisfies path dependency `nexus-test-utils` (locked to 0.1.0) of package `omicron-cockroach-admin v0.1.0 (/tmp/renovate/repos/github/oxidecomputer/omicron/cockroach-admin)`

@oxide-renovate oxide-renovate bot force-pushed the renovate/secrecy-0.x branch 2 times, most recently from 719a0d0 to 2ea7c53 Compare October 5, 2024 03:07
@oxide-renovate oxide-renovate bot force-pushed the renovate/secrecy-0.x branch from 2ea7c53 to c2e32ed Compare October 10, 2024 03:07
@oxide-renovate oxide-renovate bot changed the title Update Rust crate secrecy to 0.10.2 Update Rust crate secrecy to 0.10.3 Oct 10, 2024
@oxide-renovate oxide-renovate bot force-pushed the renovate/secrecy-0.x branch 3 times, most recently from e7acf62 to 348037f Compare October 16, 2024 03:13
@oxide-renovate oxide-renovate bot force-pushed the renovate/secrecy-0.x branch from 348037f to 354eb8b Compare November 1, 2024 03:03
@oxide-renovate oxide-renovate bot force-pushed the renovate/secrecy-0.x branch 3 times, most recently from 6702a93 to 471840e Compare November 14, 2024 06:50
@oxide-renovate oxide-renovate bot force-pushed the renovate/secrecy-0.x branch 2 times, most recently from 791c2e7 to 0437550 Compare November 22, 2024 04:19
@oxide-renovate oxide-renovate bot force-pushed the renovate/secrecy-0.x branch 3 times, most recently from bf71429 to 3b34420 Compare December 19, 2024 04:02
@oxide-renovate oxide-renovate bot force-pushed the renovate/secrecy-0.x branch from 3b34420 to 71dd48b Compare December 21, 2024 04:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants