bors
bors copied to clipboard
fix(deps): update rust crate secrecy to 0.10
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.1
Added
- Impl
CloneforSecretString(#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)?Sizedbounds 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<T>> (#1140)SecretStringis now a type alias forSecretBox<str>(#1213)- Disable
serdedefault features (#1194)
Removed
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.
⚠️ 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.0
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.0
location searched: crates.io index
required by package `octocrab v0.35.0`
... which satisfies dependency `octocrab = "^0.35.0"` (locked to 0.35.0) of package `bors v0.1.0 (/tmp/renovate/repos/github/rust-lang/bors)`