You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It was reenabled (because it's in the default list) in yup-oauth2 11.0. I'd do the patches myself but I'd rather know which way would you prefer:
Just disable default features and enable all but crypto provider
Add two new features in google-drive3 (ring and aws-lc) that futher enable the corresponding providers in yup-oauth2.
Without this fix consumers of google-drive3 suddenly need to call CryptoProvider install_default where before they didn't (because rustls by defaults use aws_lc and with ring there would no longer be clear which is the default)
The text was updated successfully, but these errors were encountered:
Will google-apis crates still work out of the box if the default features of yup-oauth2 are disabled? If so, then let's disable default features and enable only what is truly in the way of no one.
If that's not the case, I guess there is no other way than to forward these two features from each google-crate, so people can disable default features on the google crate.
Please feel free to submit a PR with anything that works.
Thank you
I confirmed that you cannot use yup_oauth2 as a standalone crate with aws-lc-rs feature as auth must implement GetToken and for that, the yup_oath2 feature must be enabled in the google crate.
So, this is how Cargo.toml should look:
[features]
google-gmail1 = "6.0.0"hyper = "1.5.2"# had to change aws-lc-rs -> ring because google-gmail/yup_oauth2 enables ringhyper-rustls = { version = "0.27.5", default-features = false, features = ["http1", "logging", "native-tokio", "tls12", "ring"] }
hyper-util = "0.1.10"
It was reenabled (because it's in the default list) in
yup-oauth2
11.0. I'd do the patches myself but I'd rather know which way would you prefer:google-drive3
(ring
andaws-lc
) that futher enable the corresponding providers inyup-oauth2
.Without this fix consumers of
google-drive3
suddenly need to call CryptoProvider install_default where before they didn't (because rustls by defaults useaws_lc
and withring
there would no longer be clear which is the default)The text was updated successfully, but these errors were encountered: