From b45687d578af980608a2bcf8f7cad97fa2141a7e Mon Sep 17 00:00:00 2001 From: Simon Date: Fri, 13 Feb 2026 15:46:59 +0000 Subject: [PATCH] config improvements --- .cargo/config.toml | 2 ++ Cargo.toml | 7 +++++++ 2 files changed, 9 insertions(+) create mode 100644 .cargo/config.toml diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 0000000..ff3089b --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,2 @@ +[build] +rustflags = ["-C", "debuginfo=1"] diff --git a/Cargo.toml b/Cargo.toml index 925495c..7e659ba 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -30,8 +30,15 @@ regex = "1.12.2" titlecase = "3.6.0" dashmap = "6.1.0" lru = "0.16.3" +rand = "0.10.0" [lints.rust] unexpected_cfgs = "allow" # Or keep it as a warning but whitelist the cfg: # unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_error_description_deprecated)'] } + +[profile.dev] +opt-level = 0 +debug = 1 +codegen-units = 256 +incremental = true