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

Update to yup-oauth 5.0, newest hyper, rustls etc. #262

Closed djrodgerspryor closed 3 years ago

djrodgerspryor commented 3 years ago

I switched to a new M1 mac and discovered the same problem with the old version of ring as you did @Byron.

I've updated the dependencies, and converted the APIs to use tokio 1 futures. I've tested the sheets4 library (which is the only one I actually use) and it's working so far. I've built a couple of other libraries, but I haven't tested them much, and I certainly haven't even looked at many of them: I'd appreciate help from anyone who has a use case for them in testing them.

The one remaining problem is that the CLI crates are broken because yup-hyper-mock still depends on old crates. @Byron I'm not sure what the best approach here is: maybe we can remove it?

The code-generator changes have been broken-out into different commits from the changes to the generated code to make them easier to read.

Byron commented 3 years ago

Sorry! It looks like the rewriting of history to remove the regenerated APIs from the PR has automatically closed it. Could you reopen it with your latest master so we can get it to work and merged asap :)?

Thanks a lot for your help, my own efforts in #263 have stalled, but I am keen to get this to work and republish all crates.

djrodgerspryor commented 3 years ago

Done: https://github.com/Byron/google-apis-rs/pull/264