Warp is a Rust web server framework focusing on composability and strongly-typed APIs.
Today sees the release of v0.2 !
The most exciting part of this release is the upgrade to
, so you can now use
for cleaner flow control. Due to how warp encourages composition of filters, this is most noticeable at the “ends” of a filter chain, where an application is doing its “business logic”, converting input into actions and replies. And that’s where most of the app code is!
In the original release of warp , I wrote:
We’d like for warp to be able to make use of all the great
middleware that already exists.
As part of this release, that is now possible! Any
which returns a
can now be converted into a
. This means you can wrap your filters with any of the growing middlewares, as described in the hyper v0.13 announcement
Be sure to check the changelog for all the goodies!