-
Notifications
You must be signed in to change notification settings - Fork 252
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
zcash_client_backend: Switch from async-trait
to RPIT for tor
module
#1595
Conversation
RPIT (return-position `impl Trait`) was stabilized in Rust 1.75, and the `dynosaur` crate providing dynamic dispatch support was published two weeks ago. Now that our MSRV is 1.77, we can use both of these.
async-trait
to RPITasync-trait
to RPIT for tor
module
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1595 +/- ##
==========================================
- Coverage 56.31% 56.31% -0.01%
==========================================
Files 148 148
Lines 19026 19026
==========================================
- Hits 10715 10714 -1
- Misses 8311 8312 +1 ☔ View full report in Codecov by Sentry. |
@@ -1,4 +1,3 @@ | |||
use async_trait::async_trait; |
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.
Can this also be used to remove librustzcash's one remaining dependency on async_trait
for data_api::chain::BlockCache
?
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 you're way ahead of me, lol. #1535 (comment)
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.
utACK
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.
post-hoc utACK
RPIT (return-position
impl Trait
) was stabilized in Rust 1.75, and thedynosaur
crate providing dynamic dispatch support was published two weeks ago. Now that our MSRV is 1.77, we can use both of these.