[package]
name = "sudo-rs"
description = "A memory safe implementation of sudo and su."
version = "0.2.13"
license = "Apache-2.0 OR MIT"
edition = "2024"
repository = "https://github.com/trifectatechfoundation/sudo-rs"
homepage = "https://github.com/trifectatechfoundation/sudo-rs"
publish = true
categories = ["command-line-interface"]
exclude = ["audit", "proofs", "util"]
rust-version = "1.85"
default-run = "sudo"
[dependencies]
libc = "0.2.176"
glob = "0.3.0"
[features]
default = []
pam-login = []
apparmor = []
gettext = []
dev = []
do-not-use-all-features = []
sudoedit = []
[profile.release]
strip = "symbols"
lto = true
opt-level = "s"
[lints.rust]
unsafe_op_in_unsafe_fn = { level = "deny" }
[lints.clippy]
undocumented_unsafe_blocks = "warn"