Ctrl K
ComunidadGuías…

clippy.toml

Rama main · réplica de lectura del repositorio original.

Archivo original ↗Preguntar a KiBot
disallowed-methods = [
    "tokio::task::block_in_place",

    # Allow this for now, to deny it later once we stop using Handle::block_on completely
    # "tokio::runtime::Handle::block_on",

    # tokio-epoll-uring:
    # - allow-invalid because the method doesn't exist on macOS
    { path = "tokio_epoll_uring::thread_local_system", replacement = "tokio_epoll_uring_ext module inside pageserver crate", allow-invalid = true }
]

disallowed-macros = [
    # use std::pin::pin
    "futures::pin_mut",
    # cannot disallow this, because clippy finds used from tokio macros
    #"tokio::pin",
]

allow-unwrap-in-tests = true