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

hyper 1.0 #216

Closed serprex closed 2 months ago

serprex commented 2 months ago

Figured I'd take a stab at this, unfortunately I've got it stuck on rt::Write/rt::Read constraint errors. Also not sure how to address make_servce_fn removal, will have to review that bit more closely

But figured I'd shared what I'd figured out. hyper::Body is now a trait hyper::body::Body which has an implementation for String so decided to use concrete String for Body parameters rather than add an additional type parameter

serprex commented 2 months ago

Closing because I don't expect to get around to fixing rest of this. But it exists as a reference if anyone wants to take a stab at it