jaemk / self_update

Self updates for rust executables
MIT License
796 stars 69 forks source link

GCS backend #59

Closed alpire closed 3 years ago

alpire commented 4 years ago

Similarly to how DigitalOcean spaces was added, I'd be interested in a GCS backend as well. I can take a stab at it if you're interested. My main question is do you want a separate backend of should it be just a configuration of S3 backend like Spaces?

The GCS bucket list API is almost identical to S3. The main difference is that the URL does not have a region in it, so if I were to add it as another S3 backend, I'd have to make the region optional.