3 releases

0.0.3 Jun 15, 2023
0.0.2 Apr 28, 2023
0.0.1 Apr 28, 2023

#5 in #hyper-rustls

Apache-2.0 OR ISC OR MIT

32KB
489 lines

hyper-rustls

This is an integration between the rustls TLS stack and the hyper HTTP library.

Build Status Crate Documentation

Release history

  • 0.24.0 (2023-04-01):
    • Upgrade to rustls 0.21.0, tokio-rustls 0.24.0 and webpki-roots 0.23.0.
    • Add ConnectorBuilder::enable_all_versions() helper.
  • 0.23.2 (2022-12-08):
    • Strip brackets from IPv6 addresses in the servername. Thanks to @digitwolf.
  • 0.23.1 (2022-10-26):
    • Allow overriding the servername. Thanks to @MikailBag.
  • 0.23.0 (2021-11-21):
    • Upgrade to rustls 0.20. Thanks to @g2p.
    • Add new HttpsConnectorBuilder API. Thanks to @g2p.
    • Add the tls12, logging, http1 and http2 features. Thanks to @g2p and @marwes.
  • 0.22.1 (2020-12-27):
    • Fixing docs.rs build; no other changes.
  • 0.22.0 (2020-12-26):
    • Use tokio 1.0, hyper 0.14, and rustls 0.19. Thanks to @paolobarbolini and @messense.
    • Rework how the certificate store is chosen: now by an explicit API rather than implicitly by crate features. Thanks to @djc.
  • 0.21.0 (2020-07-05):
    • Update dependencies.
  • 0.20.0 (2020-02-24):
    • Use newer rustls-native-certs which works in presence of invalid certificates.
    • Update dependencies.
  • 0.19.1 (2020-01-19):
    • Remove dependency on hyper's tcp feature.
  • 0.19.0 (2019-12-17):
    • First release with async/await support. Many thanks to @CryZe, @alex, @markuskobler and @dbcfd.
  • 0.18.0 (2019-11-23)
  • 0.17.1 (2019-08-19)
    • Fix accidental use of sync read/write.
  • 0.17.0 (2019-08-11)
    • Update dependencies.

License

hyper-rustls is distributed under the following three licenses:

  • Apache License version 2.0.
  • MIT license.
  • ISC license.

These are included as LICENSE-APACHE, LICENSE-MIT and LICENSE-ISC respectively. You may use this software under the terms of any of these licenses, at your option.

Running examples

server

cargo run --example server

client

cargo run --example client "https://docs.rs/hyper-rustls/latest/hyper_rustls/"

Dependencies

~15–26MB
~471K SLoC