As mentioned [here](https://github.com/sunfishcode/origin/pull/113#issuecomment-2129081377) we should use the new check-cfg lint config instead of `#![allow(unexpected_cfgs)]`.
As mentioned here we should use the new check-cfg lint config instead of
#![allow(unexpected_cfgs)].