config improvements
This commit is contained in:
2
.cargo/config.toml
Normal file
2
.cargo/config.toml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
[build]
|
||||||
|
rustflags = ["-C", "debuginfo=1"]
|
||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user