mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-24 05:06:28 +00:00
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:
@@ -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
|
||||
Reference in New Issue
Block a user