The backend uses the official AWS SDK for Rust. It supports SCCACHE_BUCKET,
SCCACHE_REGION and SCCACHE_ENDPOINT like the old backend. It does not support
SCCACHE_S3_USE_SSL.
The backend adds support for a new SCCACHE_S3_NO_CREDENTIALS key that can be
set to implement a readonly cache that does not require AWS credentials at all.
This is useful to speed up public pull request builds that typically can't
access AWS credentials for security reasons.
After reading all the docs, I came away with the impression that the local storage may be safely used concurrently. I tried that, and it almost worked, until it filled it. Clarifying this should fix#407 and help future users avoid this problem.
* Bump the MSRV to 1.58
Bumps the official MSRV to 1.58.
This is likely more than required the upcoming version bumps.
* Upgrade cargo zstd to 0.10
* Bump serial_test to v0.6
Changelog does not mention any breaking changes.
* Bump blake to v1
* Bump rouille to 3.5
Required to bump syslog to v6, since otherwise no common version
can be selected for `time`
* Bump syslog to v6
No changelog available. Depends on rouille bump to 3.5, to get a
common version of ´time´.
* Upgrade JWT to v8
The explicit insecure decode method was removed and replaced by
an option for the Validation struct.
The `exp` field had to be added to JobJwt, since otherwise the validation would fail at runtime.
Apparently the `exp` field is required now, even if the valdiation of `exp` is turned off.
* Make note of symlinks.
It took me awhile before figuring out I should use hardlinks instead of symlinks. This proposal suggests adding a note in the hope it'll save someone else a bit of time.
See also this issue: https://github.com/mozilla/sccache/issues/993 where someone else also spent way too much time on this issue.
As per #810, modify env_logger to use the SCCACHE_LOG environment
variable instead of the RUST_LOG one. This is to enable control of
sccache logs whilst debugging other rust binaries.
Update docs for SCCACHE_LOG.
Fixes#810
* Add known caveats section to readme
These are pretty serious limitations that I would have liked to read about rather than discover later! I also added an example for `RUST_LOG` so you don't have to go digging in the docs to learn how to use it.
It feels like the obvious way would be to ask cmake to use "sccache
gcc" as CMAKE_C_COMPILER, but that option can't take arguments. Leave
a note for the next person trying to figure it out.
Removes a chunk from the readme regarding a false positive
rustc-wrapper entry not being used, which is closed since 1.40.0 .
Cargo issue: https://github.com/rust-lang/cargo/issues/7745
Since the `simples3` module already handles this (and it seems
the only logic flipped here is the url prefix), plumbing through
a config is a pretty quick change.