-
Notifications
You must be signed in to change notification settings - Fork 280
Enable edition 2018 #222
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
Enable edition 2018 #222
Conversation
For some reason `integration_test/src/main.rs` has formatting issues, no clue how this got past CI. Run `cargo fmt`.
5bca083
to
aa4e6df
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.
cr-ACK aa4e6df
All patches look good to me!
What is a cr-ACK please? Is it 'code-review' implying that the review is just for code style etc. and not for correctness of the logic? |
Full code review but haven't tested. Basically untested ACK. I do agree in concept too, though. |
Friendly bump, can we get some review on this one please. The rest of the stack has increased the MSRV so we need to do it here if we want to use the latest versions of crates lower down our stack. |
I just noticed a few formatting changes have snuck into this PR, I can remove them if folks would like me to. |
Yes please, if it's not too much trouble :) Still looks good to me though! |
aa4e6df
to
8a1e11d
Compare
Duh, I'm a wombat - there are formatting changes in this PR because the first patch is a formatting patch. Changes in force push:
|
Ah, got it! Looks good, but I think GitHub Actions is not happy with the missing Sorry for the delays. You can go ahead and ping me for review again :) |
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 dbc5396
LGTM! Think we can squash now.
How did you want them squashed, everything into a single commit? |
The rust-bitcoin stack is moving towards an MSRV of 1.41.1 In preparation for updating our MSRV from 1.29 to 1.41.1 update the README, test script, and CI pipeline to reflect the change.
Use cargo to upgrade from edition 2015 to edition 2018. cargo fix --edition No manual changes made. The result of the command above is just to fix all the use statements by adding `crate::`.
Add `edition = "2018"` to each of the three subcrate manifest files. Fix `::serde` imports and remove some of the unnecessary instances of `extern crate Foo`.
dbc5396
to
18d14b6
Compare
I squashed what was the last commit into commit 2 (the RUSTFMTCHECK change). Each commit is now discreet and passes CI. Ok like that? |
Nice, thanks for leaving the rustfmt stuff (mostly) out! |
The rust-bitcoin stack is moving to a MSRV of 1.41.1
Do a [reasonably minimal] patch set that enables editon 2018
cargo fix --edition