-
Notifications
You must be signed in to change notification settings - Fork 41
chore: bump MSRV to 1.85.0 #317
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
chore: bump MSRV to 1.85.0 #317
Conversation
Move to using `dtolnay/rust-toolchain` instead.
Pull Request Test Coverage Report for Build 18041569734Details
💛 - Coveralls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Concept ACK. See comment on workspace. Good move away from the deprecated action-rs/rust-toolchain
action.
This is to avoid a clash with wallet/examples when the workspace goes away.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm personally not a fan of the "pin the hash on the actions" that zizmor recommends here.
If you want to address the zizmor warning you're getting here, you could do what we do for bdk-ffi. You add a file called zizmor.yml at the root of the .github/
directory with the following:
# This is a configuration file for the zizmor action defined in .github/workflows/zizmor.yaml
rules:
# Disable the rule requiring all actions be pinned to a specific hash
unpinned-uses:
config:
policies:
"*": any
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested ACK 6260274.
I'm getting one little clippy warning locally:
error: the following explicit lifetimes could be elided: 'a
--> src/wallet/mod.rs:1192:25
|
1192 | pub fn transactions<'a>(&'a self) -> impl Iterator<Item = WalletTx<'a>> + 'a {
| ^^ ^^ ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `-D clippy::needless-lifetimes` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::needless_lifetimes)]`
help: elide the lifetimes
|
1192 - pub fn transactions<'a>(&'a self) -> impl Iterator<Item = WalletTx<'a>> + 'a {
1192 + pub fn transactions(&self) -> impl Iterator<Item = WalletTx<'_>> + '_ {
But this is related to my default toolchain being 1.85. The warning disappears if I build using 1.89. See #315 for my recommendation on how to fix that sort of issue. Not required for this PR, just pointing it out.
Also note that I think the |
In 2a5c492 I added an exception to the unpinned-uses rule specifically for |
a11023f
to
c65b438
Compare
docs: Update links in README
c65b438
to
eceb1a3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK eceb1a3. Nice cleanup.
|
||
<div align="center"> | ||
<h1>BDK Wallet</h1> | ||
<h1>BDK</h1> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📌 Accidentally clobbered when I merged the two READMEs together. Same on line 4.
Bump
bdk_wallet
MSRV to 1.85.0.Restructure repository to be a single rust project.
Small cleanups to
.github/workflows
by moving away from unmaintainedactions-rs/toolchain
in favor ofdtolnay/rust-toolchain
.Follow-ups
.github/CODEOWNERS
fix #289
Notes to the reviewers
Changelog notice
Checklists
All Submissions: