Releases
v0.2.0
Features :
Update to std::future
, adding async
/await
support!
Add warp::service()
to convert a Filter
into a tower::Service
.
Implement Reply
for Box<dyn Reply>
.
Changes :
Refactored Rejection system (#311 ).
Change path!
macro to assume a path::end()
by default, with explicit / ..
to allow building a prefix (#359 ).
Change warp::path(str)
to accept any AsRef<str>
argument.
Rename "2"-suffixed filters and types (get2
to get
, ws2
to ws
, etc).
Filter::{or, or_else, recover}
now require Self::Error=Rejection
. This helps catch filters that didn't make sense (like warp::any().or(warp::get())
).
Change several warp::body
filters (#345 ).
Change warp::cors()
to return a warp::cors::Builder
which still implements Wrap
, but can also build
a cheaper-to-clone wrapper.
Change warp::multipart
stream API to allow for errors when streaming.
Change warp::sse
to no longer return a Filter
, adds warp::sse::reply
to do what Sse::reply
did.
Change Server::tls()
to return a TLS server builder (#340 ).
Change internal warp::never::Never
usage with std::convert::Infallible
.
Remove warp::ext::set()
function (#222 ).
Remove deprecated warp::cookie::optional_value()
.
You can’t perform that action at this time.