Features
- client:
- header: remove
cookie
dependency (f22701f7) - lib:
Breaking Changes
-
There is no more
hyper::http::h2
.(d301c6a1)
-
The
Cookie
andSetCookie
headers no longer use the
cookie crate. New headers can be written for any header, or the ones
provided in hyper can be accessed as strings.(f22701f7)
-
There is no longer a
serde-serialization
feature.
Look at external crates, likehyper-serde
, to fulfill this feature.(7b9817ed)
-
hyper will no longer provide OpenSSL support out of the
box. Thehyper::net::Openssl
and related types are gone. TheClient
now uses anHttpConnector
by default, which will error trying to
access HTTPS URLs.TLS support should be added in from other crates, such as
hyper-openssl, or similar using different TLS implementations.If using a client, take a look at reqwest.
If using a server, look at hyper-native-tls or hyper-openssl.
(2f48612c)
-
Usage of
with_proxy_config
will need to change to
provide a network connector. For the same functionality, a
hyper::net::HttpConnector
can be easily created and passed.(14a4f1c2)