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