feat(Hub): Support custom connectors

Switch the constraints on Hub types to use public traits based on
tower::service, as recommended by Hyper. This enables support for
custom connectors beyond hyper_rustls::HttpsConnector

Closes #337.
This commit is contained in:
Kyle Gentle
2022-05-22 19:02:15 -04:00
parent 0b5243162b
commit c5ff239961
8 changed files with 73 additions and 25 deletions

View File

@@ -27,4 +27,7 @@ cargo:
doc_base_url: https://docs.rs
dependencies:
- hyper = "^ 0.14"
- http = "^0.2"
- tokio = "^1.0"
- tower-service = "^0.3.1"
- url = "= 1.7"