softprops / serverless-rust

⚡ 🦀 a serverless framework plugin for rustlang applications
https://www.npmjs.com/package/serverless-rust
MIT License
548 stars 82 forks source link

Support sccache #91

Open Frederick888 opened 3 years ago

Frederick888 commented 3 years ago

💡 Feature description

When building in docker, it'd be nice if sccache can be configured to use S3, GCS, etc as cache storage.

💻 Basic example

For example, something like this would be nice:

custom:
  rust:
    cache:
      s3Bucket: my-cache-bucket
      # not only in remote automated builds, locally I can even use minio
      s3Endpoint: http://local-minio.lan:1234