I'm coming from the Ruby world and one thing that I really like in the ecosystem is interoperability of various tools and libraries, especially in context of web development. For those not familiar: in Ruby there is a library called rack that provides an interface for web frameworks. One interesting thing that it enables is to share middleware libraries between different frameworks like Ruby on Rails or Sinatra. For example there is a library called Warden, which provides authentication. When used in frameworks there is sometimes an abstraction built on top of it, but all of the heavy lifting is done in Warden, so you don't have to write the same thing for every framework out there.
With so many frameworks like Actix, Axum, Warp, Rocket etc. it seems wasteful to implement all of the plugins for each of them. That's why I was wondering - do you think it would make sense to try create a set of interfaces (traits?) that could be used by web frameworks allowing for a common interface for some of the functionality? (mainly middleware, but also maybe some kind of handling requests etc)