Debian Codegraph @

Cargo.toml

raw symbols ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
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 dev = []
41 do-not-use-all-features = []
42 gettext = []
43 pam-login = []
44 sudoedit = []
45 unstable-remote-sudoers = []
46
47 [lib]
48 name = "sudo_rs"
49 path = "src/lib.rs"
50
51 [[bin]]
52 name = "su"
53 path = "src/bin/su.rs"
54
55 [[bin]]
56 name = "sudo"
57 path = "src/bin/sudo.rs"
58
59 [[bin]]
60 name = "visudo"
61 path = "src/bin/visudo.rs"
62
63 [dependencies.glob]
64 version = "0.3.0"
65
66 [dependencies.libc]
67 version = "0.2.176"
68
69 [lints.clippy]
70 undocumented_unsafe_blocks = "warn"
71
72 [lints.rust.unsafe_op_in_unsafe_fn]
73 level = "deny"
74 priority = 0
75
76 [profile.release]
77 opt-level = "s"
78 lto = true
79 strip = "symbols"