refactor(snix/clippy): stop allowing blocks_in_conditions

This was a workaround, the workaround is not needed anymore.

Change-Id: I4a839f3733ec6cb0a26ba87dadafe304ff5ccfbe
Reviewed-on: https://cl.snix.dev/c/snix/+/30603
Autosubmit: Florian Klink <flokli@flokli.de>
Reviewed-by: Yureka <snix@yuka.dev>
Tested-by: besadii
This commit is contained in:
Florian Klink 2025-07-13 13:50:35 +03:00 committed by clbot
parent 90eabc9ae0
commit a1aa231b3f
6 changed files with 0 additions and 20 deletions

View file

@ -36,11 +36,6 @@ members = [
"tracing",
]
[workspace.lints.clippy]
# Allow blocks_in_conditions due to false positives with #[tracing::instrument(…)]:
# https://github.com/rust-lang/rust-clippy/issues/12281
blocks_in_conditions = "allow"
[workspace.dependencies]
anyhow = "1.0.86"
async-compression = "0.4.12"

View file

@ -41,6 +41,3 @@ tonic-reflection = ["dep:tonic-reflection", "snix-castore/tonic-reflection"]
[dev-dependencies]
rstest.workspace = true
tempfile = "3.3.0"
[lints]
workspace = true

View file

@ -109,6 +109,3 @@ xp-composition-url-refs = []
# Requires the following packages in $PATH:
# cbtemulator, google-cloud-bigtable-tool
integration = []
[lints]
workspace = true

View file

@ -56,6 +56,3 @@ axum-test = "16.4.0"
hex-literal.workspace = true
rstest.workspace = true
sha2.workspace = true
[lints]
workspace = true

View file

@ -23,9 +23,6 @@ tokio = { workspace = true, features = [
tokio-listener.workspace = true
tracing.workspace = true
[lints]
workspace = true
[features]
default = ["otlp"]
otlp = ["snix-tracing/otlp"]

View file

@ -96,6 +96,3 @@ xp-composition-cli = ["toml", "snix-castore/xp-composition-url-refs"]
# Requires the following packages in $PATH:
# cbtemulator, google-cloud-bigtable-tool
integration = []
[lints]
workspace = true