kilork / openid

OpenID Connect Rust Library
The Unlicense
63 stars 22 forks source link

Add reqwest_middleware support #43

Closed Protryon closed 1 year ago

Protryon commented 1 year ago

This PR adds reqwest_middleware support via feature flag. Should not cause a minor semver bump/breakages.

request-maybe-middleware is a short crate that I wrote for this PR to be able to work in a non-verbose non-breaking manor.

The purpose of this integration is for OTLP tracing.

kilork commented 1 year ago

Thank you for this contribution, but after looking into code I do not see any reasons to have such dependency even as optional.