Debian Codegraph @

Cargo.toml

raw symbols ◀ ▶ SCIP
1 Debian patch touch this file
1 # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2 #
3 # When uploading crates to the registry Cargo will automatically
4 # "normalize" Cargo.toml files for maximal compatibility
5 # with all versions of Cargo and also rewrite `path` dependencies
6 # to registry (e.g., crates.io) dependencies.
7 #
8 # If you are reading this file be aware that the original Cargo.toml
9 # will likely look very different (and much more reasonable).
10 # See Cargo.toml.orig for the original contents.
11
12 [package]
13 edition = "2024"
14 rust-version = "1.85"
15 name = "sudo-rs"
16 version = "0.2.14"
17 build = false
18 exclude = [
19 "audit",
20 "proofs",
21 "util",
22 ]
23 publish = true
24 autolib = false
25 autobins = false
26 autoexamples = false
27 autotests = false
28 autobenches = false
29 default-run = "sudo"
30 description = "A memory safe implementation of sudo and su."
31 homepage = "https://github.com/trifectatechfoundation/sudo-rs"
32 readme = "README.md"
33 categories = ["command-line-interface"]
34 license = "Apache-2.0 OR MIT"
35 repository = "https://github.com/trifectatechfoundation/sudo-rs"
36
37 [features]
38 apparmor = []
39 default = []
40 gettext = []
41 pam-login = []
42
43 [lib]
44 name = "sudo_rs"
45 path = "src/lib.rs"
46
47 [[bin]]
48 name = "su"
49 path = "src/bin/su.rs"
50
51 [[bin]]
52 name = "sudo"
53 path = "src/bin/sudo.rs"
54
55 [[bin]]
56 name = "visudo"
57 path = "src/bin/visudo.rs"
58
59 [dependencies.glob]
60 version = "0.3.0"
61
62 [dependencies.libc]
63 version = "0.2.176"
64
65 [lints.clippy]
66 undocumented_unsafe_blocks = "warn"
67
68 [lints.rust.unsafe_op_in_unsafe_fn]
69 level = "deny"
70 priority = 0
71
•72 [lints.rust.unexpected_cfgs]
73 level = "warn"
74 check-cfg = ['cfg(feature, values("dev"))', 'cfg(feature, values("do-not-use-all-features"))', 'cfg(feature, values("unstable-remote-sudoers"))', 'cfg(feature, values("sudoedit"))']
75
76 [profile.release]
77 opt-level = "s"
78 lto = true
79 strip = "symbols"