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

Bump MSRV to Rust 1.48.0 #84

Merged
merged 1 commit into from
Jun 27, 2023

Conversation

tcharding
Copy link
Contributor

@tcharding tcharding commented Jun 20, 2023

Recently the rust-bitcoin org bumped their MSRV to Rust 1.48, we can do the same here.

serde v1.0.157 uses syn 2.0 which is edition 2021 so cannot be built with 1.48 (same for once_cell) - we need to pin serde to v1.0.156 and once_cell to v1.14

We can remove all the other pinning, features, and dependencies that were required to get 1.41.1 to build.

Fix: #79

@tcharding
Copy link
Contributor Author

tcharding commented Jun 20, 2023

The pinning isn't working, I'll try again later with fresh eyes.

EDIT: ha, I was using the wrong version number. Pinning works in CI now.

Recently the `rust-bitcoin` org bumped their MSRV to Rust 1.48, we can
do the same here.

`serde` v1.0.157 uses syn 2.0 which is edition 2021 so cannot be built
with 1.48 - we need to pin `serde` to v1.0.156

We can remove all the other pinning, features, and dependencies that
were required to get 1.41.1 to build.
Copy link
Member

@danielabrozzoni danielabrozzoni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK 61c8b1f

@danielabrozzoni danielabrozzoni merged commit f9a11a4 into bitcoindevkit:master Jun 27, 2023
@tcharding tcharding deleted the 06-20-msrv branch June 28, 2023 02:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MSRV
2 participants