Build cache for cargo?

I'm building a lot of tools using Aur on Arch Linux and every time a lot of crates have to be compiled, even they where already compiled by another project before.

Is it enough to set CARGO_TARGET_DIR or do I need more to make compilation faster?

Try sccache.

I think I found the problem. In (at least some) Aur PKGBUILD files are target directories specified. I will try sccache anyway