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

@@ -29,5 +29,7 @@ cargo:
dependencies:
- strsim = "^0.5"
- clap = "^2.0"
- http = "^0.2"
- hyper = { version = "0.14", features = ["full"] }
- tokio = { version = "^ 1.0", features = ["full"] }
- tower-service = "^0.3.1"