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

chore: bump MSRV to 1.81 & use core::error::Error in place of std #780

Merged
merged 2 commits into from
Oct 23, 2024

Conversation

Evalir
Copy link
Contributor

@Evalir Evalir commented Oct 23, 2024

Motivation

Bumping the MSRV to 1.81 lets us use core::error::Error as it was finally added to the core library.

The only places where a std feature gate for errors was not removed, was because const-hex and/or ruint would need to do this too. @DaniPopes wdyt?

Solution

  • Bump the MSRV to 1.81
  • Remove std feature gates for error impls, use core::error::Error

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

The reason for the bump is to take advantage of the stabilization of `core::error::Error`, which subsequently removes quite a few `std` feature gates from the codebase.
Copy link
Member

@DaniPopes DaniPopes left a comment

Choose a reason for hiding this comment

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

Makes sense, thanks!

@DaniPopes DaniPopes merged commit 7b84276 into alloy-rs:main Oct 23, 2024
29 checks passed
@Evalir Evalir deleted the evalir/impl-error-core branch October 23, 2024 15:52
DaniPopes added a commit that referenced this pull request Oct 28, 2024
@DaniPopes
Copy link
Member

Reverted, waiting to re-apply like in alloy-rs/alloy#1552

@Evalir
Copy link
Contributor Author

Evalir commented Oct 28, 2024

sounds good—1.83 should be out in exactly a month so we can include it then

DaniPopes added a commit that referenced this pull request Oct 28, 2024
* Revert "chore: bump MSRV to 1.81 & use `core::error::Error` in place of `std` (#780)"

This reverts commit 7b84276.

* Revert "chore: address MSRV TODOs for 1.81 (#781)"

This reverts commit d37a5aa.
ZelionD pushed a commit to ZelionD/core that referenced this pull request Nov 11, 2024
* Revert "chore: bump MSRV to 1.81 & use `core::error::Error` in place of `std` (alloy-rs#780)"

This reverts commit 7b84276.

* Revert "chore: address MSRV TODOs for 1.81 (alloy-rs#781)"

This reverts commit d37a5aa.
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.

2 participants