yoshidan / google-cloud-rust

Google Cloud Client Libraries for Rust.
MIT License
243 stars 87 forks source link

Move `with_auth` method for `ClientConfig` into each component's features #172

Closed yoshidan closed 1 year ago

yoshidan commented 1 year ago

Added google-cloud-default's WithAuthExt as a feature of each component.(features=["auth"])

How to migrate

async fn run() { let config = ClientConfig::default().with_auth().await.unwrap(); let client = Client::new(config).await.unwrap(); }