config improvements

This commit is contained in:
Simon
2026-02-13 15:46:59 +00:00
parent f4fbd62c97
commit b45687d578
2 changed files with 9 additions and 0 deletions

2
.cargo/config.toml Normal file
View File

@@ -0,0 +1,2 @@
[build]
rustflags = ["-C", "debuginfo=1"]

View File

@@ -30,8 +30,15 @@ regex = "1.12.2"
titlecase = "3.6.0" titlecase = "3.6.0"
dashmap = "6.1.0" dashmap = "6.1.0"
lru = "0.16.3" lru = "0.16.3"
rand = "0.10.0"
[lints.rust] [lints.rust]
unexpected_cfgs = "allow" unexpected_cfgs = "allow"
# Or keep it as a warning but whitelist the cfg: # Or keep it as a warning but whitelist the cfg:
# unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_error_description_deprecated)'] } # unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_error_description_deprecated)'] }
[profile.dev]
opt-level = 0
debug = 1
codegen-units = 256
incremental = true