cloud-storage-rs
cloud-storage-rs copied to clipboard
A crate for uploading files to Google cloud storage, and for generating download urls.
The documentation implies that errors from Google become an Error::Google, but https://docs.rs/cloud-storage/latest/src/cloud_storage/client/object.rs.html#126 always creates an Error::Other. ``` Other("{\n \"error\": {\n \"code\": 403,\n \"message\": \"[email protected] does not have storage.objects.delete access to...
this is imcomplete PR for [Allow usage w/ an emulator #96](https://github.com/ThouCheese/cloud-storage-rs/issues/96)
- made fields on cors optional and removed debugging code Closes #115.
`BucketClient::list` appears to always return an error: ``` [src/main.rs:6] client.bucket().list().await = Err( Reqwest( reqwest::Error { kind: Decode, source: Error("data did not match any variant of untagged enum GoogleResponse", line: 0,...
The recommended way for applications in GKE to access GCP services is now via [Workload Identity](https://cloud.google.com/kubernetes-engine/docs/concepts/workload-identity) (WI). This replaces the need to use service accounts to provide credentials, with the...
Would you be willing to support more authentication types? Especially `authorized_user`? I wrote a small CLI tool that I like to run locally. It would be much easier to adopt...
Replace chrono with time, to avoid RUSTSEC-2020-0159 notifications produced by e.g. `cargo audit` in applications using this code. This is a breaking change.
It appears that the `serde` attributes for at least some of the structs don't match what GCP is actually returning. For instance, a bucket has a StorageClass of "ARCHIVE" which...
@ThouCheese Hi could you take a look at this PR and suggest any edits etc? This resolves [this issue ](https://github.com/ThouCheese/cloud-storage-rs/issues/84). I've added tests and verified that the tests are passing...
It returns a `Stream` of `Result`, which on one level is fine because it is exactly what Google makes available. At least for my use–case it would simplify things if...