phundrak.com/dummy.rs
Lucien Cartier-Tilet 8e925b884e
perf(backend): Cache build of dependencies
When building the Docker image, first compile the project with a fake
main file, namely `dummy.rs`. Once dependencies are built, compile the
actual project by switching back to `src/main.rs`.

Signed-off-by: Lucien Cartier-Tilet <lucien@phundrak.com>
2023-02-09 12:13:58 +01:00

2 lines
13 B
Rust