It depends - at my work we use buildkite which is a “bring your own runners” build service, so caching is available by default, so long as the cache is outside of the project directory. For personal stuff I use GitHub and Gitlab - they both offer caching. GitHub’s offering is easier but Gitlabs is just as effective.
Cargo caches by default and you can specify the path that it stores artifacts. Most of the cache story is about what your chosen provider uses to specify build steps, etc
Re:A Few More Reasons Rust Compiles Slowly
by rmdashrfstar on Tuesday June 30, 2020 @12:47PM
(#23691985)
Use sccache and an S3 bucket
How hard is the caching to set up, especially in a CI setting?