From b1dbd28e5d460874ae9a9cf645dda0f768c389c3 Mon Sep 17 00:00:00 2001 From: Rob Date: Thu, 29 Aug 2024 14:02:18 -0400 Subject: [PATCH] `tokio_unstable` lint fix --- cdn-broker/Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cdn-broker/Cargo.toml b/cdn-broker/Cargo.toml index a113f7f..668aeea 100644 --- a/cdn-broker/Cargo.toml +++ b/cdn-broker/Cargo.toml @@ -41,6 +41,9 @@ path = "src/binaries/bad-broker.rs" [target.'cfg(tokio_unstable)'.dependencies] console-subscriber = "0.3" +# This prevents clippy from warning about the `tokio_unstable` flag +[lints.rust] +unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [dependencies] jf-signature.workspace = true