11---
2- title : Upgrade from 0 .14 to 1
2+ title : Upgrade from v0 .14 to v1
33layout : guide
44permalink : /guides/1/upgrading/
55---
66
77This guide is meant to help you upgrade from v0.14 of hyper to v1.
88
9- ## Backports and Deprecations
9+ > Were you looking for the [ v0.14 guides] ( /guides/0.14/ ) ?
10+
11+ ## Prepare with Backports and Deprecations
1012
1113Before upgrading, you can start preparing your 0.14 code base by enabling the
1214` backports ` and ` deprecated ` features of hyper in your ` Cargo.toml ` . Like
@@ -21,10 +23,10 @@ The `backports` feature brings several of the new types from 1.0 to 0.14. If
2123you enable ` deprecated ` feature as well, it will add deprecation warnings to
2224any of hyper's types that have direct backports available.
2325
24- ** NOTE** : This won't give you warnings about changes where backports were not
26+ > ** NOTE** : This won't give you warnings about changes where backports were not
2527 able to be provided.
2628
27- ## Changelog
29+ ## Read the Changelog
2830
2931As a general rule, we tried hard to mark every possible breaking change in the
3032[ changelog] [ ] . Read through the "breaking changes" section of the 1.0 releases
@@ -64,5 +66,6 @@ The listening server acceptor can be replaced with a simple loop.
6466
6567[ changelog ] : https://github.com/hyperium/hyper/blob/master/CHANGELOG.md#v100-2023-11-15
6668[ `hyper-util` ] : https://crates.io/crates/hyper-util
69+ [ http-body-util ] : https://docs.rs/http-body-util
6770[ legacy ] : https://docs.rs/hyper-util/latest/hyper_util/client/legacy/struct.Client.html
6871[ auto ] : https://docs.rs/hyper-util/latest/hyper_util/server/conn/auto/struct.Builder.html
0 commit comments