.clippy.toml 424 B

1234567
  1. too-many-arguments-threshold = 9
  2. # Disallow specific methods from being used
  3. disallowed-methods = [
  4. { path = "std::net::UdpSocket::bind", reason = "Use solana_net_utils::bind_with_config, bind_to, etc instead for proper socket configuration." },
  5. { path = "tokio::net::UdpSocket::bind", reason = "Use solana_net_utils::bind_to_async or bind_to_with_config_non_blocking instead for proper socket configuration." },
  6. ]