hyper-rustls

Integration between hyper HTTP library and rustls TLS stack

OTHER License

Downloads
108.1M
Stars
294
Committers
52
hyper-rustls - 0.27.2 Latest Release

Published by djc 5 months ago

What's Changed

hyper-rustls - 0.27.1

Published by cpu 7 months ago

Added

  • New ConnectorBuilder::with_server_name_resolver() fn for specifying an implementation of the ResolveServerName trait to dynamically resolve the subject name used when verifying a server's certificate.
  • New fips feature flag for enabling the aws-lc-rs Rustls crypto provider in FIPS mode.

Changed

  • ConnectorBuilder::with_server_name() is now deprecated. Existing usages should be replaced with ConnectorBuilder::with_server_name_resolver() and a FixedServerNameResolver.

What's Changed

New Contributors

Full Changelog: https://github.com/rustls/hyper-rustls/compare/v/0.27.0...v/0.27.1

hyper-rustls - 0.27.0

Published by cpu 7 months ago

Changed

  • Rustls updated to 0.23
  • Default cryptography provider changed to aws-lc-rs to match upstream Rustls project. Note that this has some implications on platform support and build-time tool requirements such as cmake on all platforms and nasm on Windows.
    Support for ring continues to be available: set the ring crate feature.

Added

  • New with_platform_verifier connector builder fns for using rustls-platform-verifier for certificate verification. Requires the optional rustls-platform-verifier feature be enabled.
  • New HttpsConnector::builder fn for conveniently constructing a ConnectorBuilder.

Changelog

New Contributors

Full Changelog: https://github.com/rustls/hyper-rustls/compare/v/0.26.0...v/0.27.0

hyper-rustls - 0.26.0

Published by cpu 9 months ago

  • The hyper crate dependency has been updated to 1.0. hyper-rustls now uses the new hyper-util crate to replace functionality removed from hyper.
  • The Acceptor API has been removed and relevant examples updated. Hyper 1.0 has library consumers handle binding sockets and accepting connections themselves, removing the need for the Acceptor API. See examples/server.rs for an up to date example for accepting connections.
  • The tokio-runtime feature has been removed - hyper-rustls depends on hyper-util, and the tokio feature in hyper-util is required for the necessary IO adapter traits. Tokio was already a hard dependency of this crate.

What's Changed

New Contributors

Full Changelog: https://github.com/rustls/hyper-rustls/compare/v/0.25.0...v/0.26.0

hyper-rustls - 0.25.0

Published by cpu 10 months ago

  • The Rustls dependency has been updated to 0.22
  • The acceptor module is now public.
  • The TlsStream type now has io and connection accessor methods for getting a reference to the underlying I/O stream and rustls::ServerConnection.
  • A new AcceptorBuilder::with_connector method is added for taking a generic acceptor implementing Accept.
  • ConnectorBuilder::enable_all_versions has been fixed to advertise the correct ALPN values based on enabled crate features.
  • ConnectorBuilder::with_native_roots has been updated to be fallible, allowing a failure to load native roots to be handled by the caller instead of producing a panic.

What's Changed

New Contributors

Full Changelog: https://github.com/rustls/hyper-rustls/compare/v/0.24.1...v/0.25.0

hyper-rustls - 0.24.1

Published by djc over 1 year ago

  • Add TlsAcceptor API for implementing a basic rustls server (#186, thanks to @Licenser)
  • Add Https::Connector::enforce_https() helper method (#191, thanks to @jjant)
  • Link documentation from Cargo manifest (#204, thanks to @khuey)
  • Update repo URL and use SPDX for license (#202, thanks to @atouchet)
  • Bump MSRV to 1.60 (#205)

Thanks to all contributors on behalf of the rustls team (@ctz, @cpu and @djc)!

hyper-rustls - v/0.17.1

Published by ctz over 1 year ago

Release notes

  • Fix accidental use of sync read/write.

What's Changed

New Contributors

Full Changelog: https://github.com/rustls/hyper-rustls/compare/v/0.17.0...v/0.17.1

hyper-rustls - v/0.18.0

Published by ctz over 1 year ago

Release notes

What's Changed

Full Changelog: https://github.com/rustls/hyper-rustls/compare/v/0.17.1...v/0.18.0

hyper-rustls - v/0.19.0

Published by ctz over 1 year ago

Release notes

  • First release with async/await support. Many thanks to @CryZe, @alex, @markuskobler and @dbcfd.

What's Changed

New Contributors

Full Changelog: https://github.com/rustls/hyper-rustls/compare/v/0.18.0...v/0.19.0

hyper-rustls - v/0.19.1

Published by ctz over 1 year ago

Release notes

  • Remove dependency on hyper's tcp feature.

What's Changed

Full Changelog: https://github.com/rustls/hyper-rustls/compare/v/0.19.0...v/0.19.1

hyper-rustls - v/0.20.0

Published by ctz over 1 year ago

Release notes

  • Use newer rustls-native-certs which works in presence of invalid certificates.
  • Update dependencies.

What's Changed

New Contributors

Full Changelog: https://github.com/rustls/hyper-rustls/compare/v/0.19.1...v/0.20.0

hyper-rustls - v/0.21.0

Published by ctz over 1 year ago

Release notes

  • Update dependencies.

What's Changed

Full Changelog: https://github.com/rustls/hyper-rustls/compare/v/0.20.0...v/0.21.0

hyper-rustls - v/0.22.0

Published by ctz over 1 year ago

Release notes

  • 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.

What's Changed

New Contributors

Full Changelog: https://github.com/rustls/hyper-rustls/compare/v/0.21.0...v/0.22.0

hyper-rustls - v/0.22.1

Published by ctz over 1 year ago

Release notes

  • Fixing docs.rs build; no other changes.

Full Changelog: https://github.com/rustls/hyper-rustls/compare/v/0.22.0...v/0.22.1

hyper-rustls - v/0.23.0

Published by ctz over 1 year ago

Release notes

  • 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.

What's Changed

New Contributors

Full Changelog: https://github.com/rustls/hyper-rustls/compare/v/0.22.1...v/0.23.0

hyper-rustls - v/0.23.1

Published by ctz over 1 year ago

Releases notes

  • Allow overriding the servername. Thanks to @MikailBag.

What's Changed

New Contributors

Full Changelog: https://github.com/rustls/hyper-rustls/compare/v/0.23.0...v/0.23.1

hyper-rustls - v/0.23.2

Published by ctz over 1 year ago

Release notes

  • Strip brackets from IPv6 addresses in the servername. Thanks to @digitwolf.

What's Changed

New Contributors

Full Changelog: https://github.com/rustls/hyper-rustls/compare/v/0.23.1...v/0.23.2

hyper-rustls - v/0.24.0

Published by ctz over 1 year ago

Release notes

  • Upgrade to rustls 0.21.0, tokio-rustls 0.24.0 and webpki-roots 0.23.0.
  • Add ConnectorBuilder::enable_all_versions() helper.

What's Changed

New Contributors

Full Changelog: https://github.com/rustls/hyper-rustls/compare/v/0.23.2...v/0.24.0