|
|
|
|
|
by dkryptr
1698 days ago
|
|
I've developed multiple microservices in Rust (using axum[0]) and cargo-watch[1] has really come in handy. I usually only have to wait ~5 seconds for my changes to re-compile and the server to spin up. I can't really speak for massive projects, but in my experience after the first build the compile times aren't too bad. Only the changed code re-compiles. Another commenter mentioned they can code for hours without needing to re-compile and I've found that to be true also. I use rust-analyzer[2] in VSCode and I can usually get a lot done without needing to manually test every change. I guess it depends on if I'm writing logic heavy code or writing code-architecture (custom traits, implementations, and whatnot) [0] - https://github.com/tokio-rs/axum
[1] - https://github.com/watchexec/cargo-watch
[2] - https://github.com/rust-analyzer/rust-analyzer |
|