Skip to content

Commit 83d4774

Browse files
committed
Lint against using dbg!
1 parent e08a02a commit 83d4774

4 files changed

Lines changed: 12 additions & 0 deletions

File tree

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ bstr = { version = "1", features = ["serde"] }
4545
psutil = "3"
4646
thin-vec = { version = "0.2", features = ["serde"] }
4747

48+
[workspace.lints.clippy]
49+
dbg_macro = "deny"
50+
4851
[profile.release]
4952
panic = "abort"
5053

crates/hyperqueue/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,3 +90,6 @@ bench = false
9090
# It is not a normal Cargo feature, because it would break building with `--all-features`.
9191
[lints.rust]
9292
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(zero_worker)'] }
93+
94+
[lints.clippy]
95+
dbg_macro = "deny"

crates/pyhq/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,6 @@ termcolor = "1.1"
3333

3434
[package.metadata.maturin]
3535
python-source = "python"
36+
37+
[lints]
38+
workspace = true

crates/tako/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,6 @@ harness = false
4747
# Workaround for Criterion (https://bheisler.github.io/criterion.rs/book/faq.html#cargo-bench-gives-unrecognized-option-errors-for-valid-command-line-options)
4848
[lib]
4949
bench = false
50+
51+
[lints]
52+
workspace = true

0 commit comments

Comments
 (0)