Closed ralexstokes closed 3 months ago
async_trait
is required by axum
, we can't drop it now
thanks for looking into this!
it doesn't seem to be necessarily required by axum
but async-trait
gives additional trait bounds that do satisfy axum::Handler
-- if you look at the blog post above, they talk about this
I think for now, we just table this
There are some traits in
mev-rs
that have async methods, and the way to implement this until recently has been with the use of theasync_trait
crate.As of Rust 1.75, there is preliminary support for using
async
methods in a trait and I wonder if there is enough native support to dropasync_trait
.