sudo-rs 0.2.13

A memory safe implementation of sudo and su.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.85"
name = "sudo-rs"
version = "0.2.13"
build = false
exclude = [
    "audit",
    "proofs",
    "util",
]
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "sudo"
description = "A memory safe implementation of sudo and su."
homepage = "https://github.com/trifectatechfoundation/sudo-rs"
readme = "README.md"
categories = ["command-line-interface"]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/trifectatechfoundation/sudo-rs"

[features]
apparmor = []
default = []
dev = []
do-not-use-all-features = []
gettext = []
pam-login = []
sudoedit = []

[lib]
name = "sudo_rs"
path = "src/lib.rs"

[[bin]]
name = "su"
path = "src/bin/su.rs"

[[bin]]
name = "sudo"
path = "src/bin/sudo.rs"

[[bin]]
name = "visudo"
path = "src/bin/visudo.rs"

[dependencies.glob]
version = "0.3.0"

[dependencies.libc]
version = "0.2.176"

[lints.clippy]
undocumented_unsafe_blocks = "warn"

[lints.rust.unsafe_op_in_unsafe_fn]
level = "deny"
priority = 0

[profile.release]
opt-level = "s"
lto = true
strip = "symbols"