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
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