2 post(s) found.
hyper (Rust) upgrade to v1: Higher-level Server / Client were removed
Summary
This series is about how I upgraded hyper (Rust) 0.14 to v1 (1.3).
The next theme is higher-level
... ReadServer
/Client
. Those in v0 were removed. It was because they had stability and complexity problems.hyper (Rust) upgrade to v1: Body became Trait
Summary
This series is about how I upgraded hyper (Rust) 0.14 to v1 (1.3).
The first theme is
... ReadBody
.hyper::Body
in v0 wasStruct
changed toTrait
. At the same time, the successors such ashyper::body
::Bytes
andhyper::body::Incoming
came in. It was because it brought more flexibility to hyper even in the future. According to their 1.0 Roadmap: