v0.10.0
Features
- client:
- header: remove
cookiedependency (f22701f7) - lib:
Breaking Changes
-
There is no more
hyper::http::h2.(d301c6a1)
-
The
CookieandSetCookieheaders 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-serializationfeature.
Look at external crates, likehyper-serde, to fulfill this feature.(7b9817ed)
-
hyper will no longer provide OpenSSL support out of the
box. Thehyper::net::Openssland related types are gone. TheClient
now uses anHttpConnectorby 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_configwill need to change to
provide a network connector. For the same functionality, a
hyper::net::HttpConnectorcan be easily created and passed.(14a4f1c2)