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

Fix serde versions #1267

Merged
merged 1 commit into from Sep 14, 2022
Merged

Conversation

Kixunil
Copy link
Collaborator

@Kixunil Kixunil commented Sep 13, 2022

Cargo.toml claimed that this crate works with very old versions of serde which wasn't the case. This commit changes the versions to minimal known-to-work values.

Adding trivial tag because the text change is trivial even though figuring it out wasn't. :)
If you manually decrease any of the versions by 1 (in both Cargo.toml and Cargo.lock) the build should fail.

@Kixunil Kixunil added bug trivial Obvious, easy and quick to review (few lines or doc-only...) labels Sep 13, 2022
@Kixunil
Copy link
Collaborator Author

Kixunil commented Sep 13, 2022

Lot of merges meanwhile, LOL

`Cargo.toml` claimed that this crate works with very old versions of
`serde` which wasn't the case. This commit changes the versions to
minimal known-to-work values.
Copy link
Member

@apoelstra apoelstra left a comment

Choose a reason for hiding this comment

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

ACK 4d54b16

@tcharding
Copy link
Member

How do we know that we won't break this in the future. Should we have a CI job that pins serde versions and builds?

Copy link
Member

@tcharding tcharding left a comment

Choose a reason for hiding this comment

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

utACK 4d54b16

@Kixunil
Copy link
Collaborator Author

Kixunil commented Sep 14, 2022

@tcharding we should pin all dependencies. I have recorded deps for #1230, I just need to modify CI and commit it. :)

@apoelstra apoelstra merged commit 3b59b3b into rust-bitcoin:master Sep 14, 2022
@Kixunil Kixunil deleted the fix-serde-versions branch September 14, 2022 14:46
@tcharding
Copy link
Member

Oh yes, I remember now, cheers.

@tcharding tcharding added this to the 0.30.0 milestone Sep 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug trivial Obvious, easy and quick to review (few lines or doc-only...)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants