Write lint to check for dashmaps entries being held

Signed-off-by: Marcel Müller <neikos@neikos.email>
This commit is contained in:
Marcel Müller 2025-03-04 14:57:46 +01:00
parent bf589f7d28
commit ace01a2096
8 changed files with 355 additions and 24 deletions

View file

@ -7,12 +7,17 @@ publish = false
[lib]
crate-type = ["cdylib"]
[[example]]
name = "ui"
path = "ui/main.rs"
[dependencies]
clippy_utils = { git = "https://github.com/rust-lang/rust-clippy", rev = "19e305bb57a7595f2a8d81f521c0dd8bf854e739" }
dylint_linting = "4.0.0"
hakari = { version = "0.1", path = "../../hakari" }
[dev-dependencies]
dashmap = "6"
dylint_testing = "4.0.0"
[package.metadata.rust-analyzer]