Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions clippy.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
too-many-arguments-threshold = 9

# Set the result_large_err lint threshold based on the current sizes as of May 21 2025.
# solana_rpc_client_api::client_error::Error is 256 bytes
# solana_tps_client::TpsClientError uses the ClientError (above) and is 264 bytes
large-error-threshold = 265

# Disallow specific methods from being used
disallowed-methods = [
{ path = "std::net::UdpSocket::bind", reason = "Use solana_net_utils::bind_with_config, bind_to, etc instead for proper socket configuration." },
Expand Down