Skip to content

Commit

Permalink
update upgrading subtitles
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmonstar committed Nov 29, 2023
1 parent a95d06b commit f997bac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions _stable/upgrading.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ As a general rule, we tried hard to mark every possible breaking change in the
(including the RC 1-4), which will provide suggestions on how to overcome each
one.

## `hyper::Body`
## `Body`

The `Body` type has changed to be a trait (what used to be `HttpBody`).

Expand All @@ -47,13 +47,13 @@ use `hyper::Body` to decide which solution to switch to.
- Otherwise, the [more specific variants][http-body-util] allow for a more
explicit API in your code.

## `hyper::Client`
## `Client`

The higher-level pooling `Client` was removed from hyper 1.0. A similar type
was added to [`hyper-util`][], called [`client::legacy::Client`][legacy]. It's
mostly a drop-in replacement.

## `hyper::Server`
## `Server`

The v0.14 `hyper::Server` does not have a drop-in replacement, since it had
problems.
Expand Down

0 comments on commit f997bac

Please sign in to comment.