too-many-arguments-threshold = 8 # Tests are allowed to panic/unwrap/index freely — these lints only guard prod. allow-panic-in-tests = true allow-unwrap-in-tests = true allow-expect-in-tests = true allow-dbg-in-tests = true allow-indexing-slicing-in-tests = true disallowed-methods = [ { path = "tokio::sync::Mutex::blocking_lock", reason = "panics inside a tokio runtime; see PR #249. Restructure to async or take the value at construction." }, { path = "tokio::sync::RwLock::blocking_read", reason = "panics inside a tokio runtime. Restructure to async or take the value at construction." }, { path = "tokio::sync::RwLock::blocking_write", reason = "panics inside a tokio runtime. Restructure to async or take the value at construction." }, ]