Refactor trusted-proxies: modernize utils, improve safety, and fix clippy lints (#1693)

Co-authored-by: majinghe <42570491+majinghe@users.noreply.github.com>
Co-authored-by: GatewayJ <835269233@qq.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: houseme <4829346+houseme@users.noreply.github.com>
Co-authored-by: heihutu <30542132+heihutu@users.noreply.github.com>
This commit is contained in:
houseme
2026-02-03 01:06:22 +08:00
committed by GitHub
parent d1a70176a2
commit cb468fb32f
55 changed files with 5145 additions and 93 deletions
+12
View File
@@ -15,3 +15,15 @@
max_width = 130
fn_call_width = 90
single_line_let_else_max_width = 100
## Enable group import Preserve, StdExternalCrate, One
#group_imports = "StdExternalCrate"
#
## Import granularity control Preserve, Crate, Module, Item, One
#imports_granularity = "Crate"
#
## Sort alphabetically
#reorder_imports = true
#
## The instability feature needs to be enabled
#unstable_features = true