1allow-private-module-inception = true
2avoid-breaking-exported-api = false
3ignore-interior-mutability = [
4 # Suppresses clippy::mutable_key_type, which is a false positive as the Eq
5 # and Hash impls do not use fields with interior mutability.
6 "agent::context::AgentContextKey"
7]
8disallowed-methods = [
9 { path = "std::process::Command::spawn", reason = "Spawning `std::process::Command` can block the current thread for an unknown duration", replacement = "smol::process::Command::spawn" },
10 { path = "std::process::Command::output", reason = "Spawning `std::process::Command` can block the current thread for an unknown duration", replacement = "smol::process::Command::output" },
11 { path = "std::process::Command::status", reason = "Spawning `std::process::Command` can block the current thread for an unknown duration", replacement = "smol::process::Command::status" },
12]
13disallowed-types = [
14 # { path = "std::collections::HashMap", replacement = "collections::HashMap" },
15 # { path = "std::collections::HashSet", replacement = "collections::HashSet" },
16 # { path = "indexmap::IndexSet", replacement = "collections::IndexSet" },
17 # { path = "indexmap::IndexMap", replacement = "collections::IndexMap" },
18]