# clippy.toml · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/blob/cleanup-new-thread-menu/clippy.toml)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: refs/heads/cleanup-new-thread-menu

Commit: 55a973cf74ad2aea7c524e3a3c069cd42454dd97

Blob: 57f6f59385a4885730015c3d09f040a5f340d379

Size: 1241 bytes

[Immutable source](https://git.cafe/gitcafe/zed/blob/55a973cf74ad2aea7c524e3a3c069cd42454dd97/clippy.toml?format=markdown)

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

```
