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)'] }