Exposes surf's with_http_client#94
Conversation
|
Style checks fail on existing code. |
|
@Empty2k12 thoughts? |
|
Thanks for your PR! Please merge/rebase main. The compilation failure should go away. Also, #92 has been merged. |
40122ef to
0bba55e
Compare
|
Exposed under the "surf" feature. Do you prefer a separate function |
|
I think I prefer the former. Is there a reason why we don't make a client-agnostic |
Fair point! Updated to match. |
|
@msrd0 can this be merged? |
|
@Empty2k12 I was hoping for the CI to run first. No idea why it doesnt, I contacted GitHub Support on Monday asking why they've disabled actions on this repo. |
Description
Exposed Surf's with_http_client to allow users to more granularity in their HTTP clients. One use case is creating a isahc HttpClient with HTTP basic auth
Maintenance considerations
If the project moves away from surf this function will need to be under a surf feature. This function does make moving away from surf a semver major change, looking at #92 it appears a sermver breaking change when moving away from surf is planned.
Checklist
cargo fmt --allcargo clippy --all-targets --all-features -- -D warningsdynare deprecated.cargo readme -r influxdb -t ../README.tpl > README.md