yoshidan / google-cloud-rust

Google Cloud Client Libraries for Rust.
MIT License
233 stars 85 forks source link

google cloud pubsub - `with_auth()` method is gone between 0.13.0 and 0.14.0 #123

Closed nicolas-vivot closed 1 year ago

nicolas-vivot commented 1 year ago

I am trying to figure how to upgrade from 0.13.0 to 0.14.0 and having issues with the client config of the pubsub crate.

The method .with_auth() cannot be resolved anymore after the upgrade, and i cannot find any example on how to deal with the authentication with the newer version. image

I have seen tickets making the authentication part optional and others to provide your own implementation, but why is this one gone ? Could you please:

nicolas-vivot commented 1 year ago

Another question i had as well: why this method is gone for the pubsub client configuration, but not on the storage client configuration. Should not we have consistent authentication API across all crates ?

nicolas-vivot commented 1 year ago

Oups, my bad, one of the dep was not correctly updated, therefore leading to this issue. Closing the ticket.