Byron / google-apis-rs

A binding and CLI generator for all Google APIs
http://byron.github.io/google-apis-rs
Other
1.01k stars 131 forks source link

Add missing trait bounds for proper async to GetToken #369

Closed philippeitis closed 1 year ago

philippeitis commented 1 year ago

I apparently missed a few necessary trait bounds while implementing GetToken, which I discovered while using the crate in my project. I've added the necessary bound plus a test to ensure that it remains correct in the future.

Unfortunately, I think this might necessitate yanking the previous versions of google-apis-common (as they will likely fail to compile).

Byron commented 1 year ago

Thanks a lot! I am glad I didn't republish all crates just yet as well :).

This fix should resolve #372 as well, and make obsolete #373.

Byron commented 1 year ago

google-drive3 was republished as patch release, containing the fix.