-
Notifications
You must be signed in to change notification settings - Fork 235
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(general): bump MSRV to 1.81, use core::error::Error
on no-std
compatible crates
#1552
base: main
Are you sure you want to change the base?
Conversation
…r` on no-std compatible crates For `no-std` compatible crates, we can use `core::error::Error` instead of `std::error::Error` to avoid gating the Error impl under `std`.
8c0de62
to
1ebb429
Compare
I'm ok with bumping MSRV for this since it's in line with our policy. Do you want to do this in alloy-core too? |
Yep, happy to do it on alloy core too. Sounds good! |
@DaniPopes i've not removed any Core PR: alloy-rs/core#780 |
impl core::error::Error
instead of impl std::error::Error
on no-std
compatible cratescore::error::Error
on no-std
compatible crates
@@ -124,7 +124,7 @@ When updating this, also update: | |||
- .github/workflows/ci.yml | |||
--> | |||
|
|||
The current MSRV (minimum supported rust version) is 1.79. | |||
The current MSRV (minimum supported rust version) is 1.81. | |||
|
|||
Alloy will keep a rolling MSRV policy of **at least** two versions behind the |
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.
Maybe we should remove this comment as it is not true anymore no?
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.
Ah oops I thought the latest stable was 1.83. We should wait on this until the next version.
Added a temporary blocked label as it relies on |
Motivation
For
no-std
compatible crates, we can usecore::error::Error
instead ofstd::error::Error
to avoid gating the Error impl understd
for the impl blocks.Solution
replace
std::error::Error
withcore::error::Error
on the impl blocks.PR Checklist