-
Notifications
You must be signed in to change notification settings - Fork 240
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
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
Added a temporary blocked label as it relies on |
Yay! Unblocked by https://blog.rust-lang.org/2024/11/28/Rust-1.83.0.html |
Awesome! Thanks y'all 😄 |
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