Skip to content

Commit 393e09c

Browse files
authored
chore: allow clippy::uninlined_format_args (#1981)
1 parent 277f370 commit 393e09c

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

Cargo.lock

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,6 @@ local-fake-dns = ["local", "shadowsocks-service/local-fake-dns", "ipnet"]
157157
# https://shadowsocks.org/doc/sip008.html
158158
local-online-config = [
159159
"local",
160-
"mime",
161160
"shadowsocks-service/local-online-config",
162161
]
163162

@@ -218,7 +217,6 @@ serde = { version = "1.0", features = ["derive"] }
218217
json5 = "0.4"
219218
thiserror = "2.0"
220219
base64 = "0.22"
221-
mime = { version = "0.3", optional = true }
222220

223221
clap = { version = "4.5", features = ["wrap_help", "suggestions"] }
224222
cfg-if = "1"
@@ -267,3 +265,6 @@ byteorder = "1.5"
267265
env_logger = "0.11"
268266
byte_string = "1.0"
269267
tokio = { version = "1", features = ["net", "time", "macros", "io-util"] }
268+
269+
[lints.clippy]
270+
uninlined_format_args = "allow"

crates/shadowsocks-service/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,3 +219,6 @@ features = [
219219
"dns-over-tls",
220220
"dns-over-https",
221221
]
222+
223+
[lints.clippy]
224+
uninlined_format_args = "allow"

crates/shadowsocks/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,3 +111,6 @@ sendfd = { version = "0.4", features = ["tokio"] }
111111

112112
[dev-dependencies]
113113
env_logger = "0.11"
114+
115+
[lints.clippy]
116+
uninlined_format_args = "allow"

0 commit comments

Comments
 (0)