Make the build time faster for development
All checks were successful
Rust Checks / checks (push) Successful in 46m1s
Rust Checks / checks (pull_request) Successful in 2m9s

This commit is contained in:
Tipragot 2024-02-22 17:33:35 +01:00
parent 92d3484d03
commit 392594eefb
No known key found for this signature in database
GPG key ID: 93337F75766CFA9A
2 changed files with 8 additions and 0 deletions

2
.cargo/config.toml Normal file
View file

@ -0,0 +1,2 @@
[build]
rustflags = ["-Z", "threads=8"]

View file

@ -10,3 +10,9 @@ missing_docs_in_private_items = "warn"
unwrap_in_result = "warn"
unwrap_used = "warn"
nursery = "warn"
[profile.dev]
opt-level = 1
[profile.dev.package."*"]
opt-level = 3