budctlclippy.toml
| 1 | # Tests may unwrap and index; production code may not (see [workspace.lints] in Cargo.toml). |
| 2 | allow-unwrap-in-tests = true |
| 3 | allow-expect-in-tests = true |
| 4 | allow-panic-in-tests = true |
| 5 | allow-indexing-slicing-in-tests = true |
| 6 | |
| 7 | disallowed-methods = [ |
| 8 | { path = "std::thread::sleep", reason = "wait with Link::pump_until, so the buds' requests are still answered" }, |
| 9 | { path = "std::process::exit", reason = "return an error and let main turn it into an exit code" }, |
| 10 | ] |