-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use Cargo Workspaces in generated project to reduce compilation times #194
Comments
For example, running Despite the fact that backend.rs has no dependencies. |
Do you mind timing this on a fresh project with and without this workspace change? Also, could you share the output you get in your terminal? I'm not sure I understand the problem |
oh sure, I'll get on that |
Methodology notes
Key Point:
Resultswithout workspaces
with workspaces
ManifestsClick to expand
|
@AnthonyMichaelTDM thanks a bundle for the write-up and investigation |
Currently, running the build scripts takes an unnecessary amount of time because all the scripts are treated like separate binaries but have the same dependencies as the backend, meaning that all the dependencies of the backend are compiled twice if you, for example, run
cargo fullstack
.https://doc.rust-lang.org/book/ch14-03-cargo-workspaces.html
The text was updated successfully, but these errors were encountered: