Using gcloud-sdk to Work with Storage Buckets in Rust
gcloud-sdk
At the time of this writing, there is no official Google Cloud library for rust. Google started working on google-cloud-rust, but it’s still under development.
The most popular alternative seems to be gcloud-sdk, so that’s what we’ll be using. This SDK uses tonic to build the gRPC clients, so a little familiarity with tonic, might be helpful.
Since we are going to focus on the Storage API, we need to add this dependency to our Cargo.toml
file:
1
gcloud-sdk = { version = "0.27", features = ["google-storage-v2" ] }