http-rs / surf

Fast and friendly HTTP client framework for async Rust
https://docs.rs/surf
Apache License 2.0
1.46k stars 119 forks source link

Add 'h1-client-rustls' feature relying on rustls #292

Closed Fishrock123 closed 3 years ago

Fishrock123 commented 3 years ago

This PR is a follow-up of http-rs/http-client#53 and addresses #40. It adds a h1-client-rustls feature using http-client/rustls feature introduced by http-rs/http-client#53.

Co-Authored-By: Julien Enoch julien.enoch@adlinktech.com


Successor to https://github.com/http-rs/surf/pull/271 so I can hopefully merge and release today. That PR took changes on which were my own suggestion but which do not actually work correctly (no default tls support) for which I am sorry...