This patch was autogenerated using debcargo. Do not edit manually! --- a/Cargo.toml +++ b/Cargo.toml @@ -37,12 +37,8 @@ repository = "https://github.com/trifect [features] apparmor = [] default = [] -dev = [] -do-not-use-all-features = [] gettext = [] pam-login = [] -sudoedit = [] -unstable-remote-sudoers = [] [lib] name = "sudo_rs" @@ -73,6 +69,10 @@ undocumented_unsafe_blocks = "warn" level = "deny" priority = 0 +[lints.rust.unexpected_cfgs] +level = "warn" +check-cfg = ['cfg(feature, values("dev"))', 'cfg(feature, values("do-not-use-all-features"))', 'cfg(feature, values("unstable-remote-sudoers"))', 'cfg(feature, values("sudoedit"))'] + [profile.release] opt-level = "s" lto = true