From 75f18fa766d2147b630dc67423b95ae46452ed3c Mon Sep 17 00:00:00 2001 From: Thomas de Zeeuw Date: Sat, 25 May 2024 14:32:11 +0200 Subject: [PATCH] Add expected configs for unexpected_cfgs Adds the two expected cfg flags for Mio. --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 41d525b5d..f49297b10 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -107,3 +107,6 @@ required-features = ["os-poll", "net"] [[example]] name = "udp_server" required-features = ["os-poll", "net"] + +[lints.rust] +unexpected_cfgs = { level = "warn", check-cfg = ['cfg(mio_unsupported_force_poll_poll)', 'cfg(mio_unsupported_force_waker_pipe)'] }