When using Cargo to build my Rust project, it downloads and compiles all the crates each time I trigger cargo build
.
Is there no way to cache these libraries and speedup my build process?
I am running this on an Ubuntu 16.04 machine and using Docker to run my builds in. I guess there needs to be some mounted directory to share across builds which could solve my problem.