dermesser / yup-oauth2

An oauth2 client implementation providing the Device, Installed, Service Account, and several more flows.
https://docs.rs/yup-oauth2/
Apache License 2.0
213 stars 114 forks source link

Add timeout option #239

Open threema-donat opened 3 days ago

threema-donat commented 3 days ago

Adds the option to add a timeout after which a request will fail. PR #238 should be reviewed before this

threema-donat commented 3 days ago

I have pushed some commits that resolve warnings and added a job to run clippy linting to the CI pipeline. Furthermore, I disallowed warnings when they occur in the jobs. Please let me know if you want to have this as a separate PR.

Be aware that I renamed the config yup_oauth2_docsrs! I did not know how to resolve this warning without the rename and it seems to be a well-known config since reqwest does it the same way.