Debian Codegraph @

debian/patches/auto/auto-remove-features.patch

raw
1 This patch was autogenerated using debcargo. Do not edit manually!
2 --- a/Cargo.toml
3 +++ b/Cargo.toml
4 @@ -37,12 +37,8 @@ repository = "https://github.com/trifect
5 [features]
6 apparmor = []
7 default = []
8 -dev = []
9 -do-not-use-all-features = []
10 gettext = []
11 pam-login = []
12 -sudoedit = []
13 -unstable-remote-sudoers = []
14
15 [lib]
16 name = "sudo_rs"
17 @@ -73,6 +69,10 @@ undocumented_unsafe_blocks = "warn"
18 level = "deny"
19 priority = 0
20
21 +[lints.rust.unexpected_cfgs]
22 +level = "warn"
23 +check-cfg = ['cfg(feature, values("dev"))', 'cfg(feature, values("do-not-use-all-features"))', 'cfg(feature, values("unstable-remote-sudoers"))', 'cfg(feature, values("sudoedit"))']
24 +
25 [profile.release]
26 opt-level = "s"
27 lto = true