Replies: 3 comments 3 replies
-
I have asked that same question myself. At the time of this writing the Rust compiler warns against using https://blog.rust-lang.org/2023/12/21/async-fn-rpit-in-traits.html#dynamic-dispatch
In theory this should be no limiting factor as the I need to look into that. I guess there are dragons lurking. 🐉 |
Beta Was this translation helpful? Give feedback.
-
I just gave this a try: I had to change some detail in the |
Beta Was this translation helpful? Give feedback.
-
I just merged that PR. All tests passed and it seams to be working just fine. If I don't encounter any blocker I will release the next deadpool version without |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello there!
Since Rust 1.75 was released and
async
traits are now supported natively, there is no need to keep relying on theasync_trait
crate.How hard would it be to get rid of this dependency? Are there any plans for it yet?
Beta Was this translation helpful? Give feedback.
All reactions