mirror of
https://github.com/uutils/shadow.git
synced 2026-06-10 16:14:57 -07:00
896a4214b6
Fixes #79 — CODE_OF_CONDUCT.md (Contributor Covenant 2.1) Fixes #80 — locales/en-US.ftl for all 14 tools Fixes #81 — rust-version = "1.85.0" in workspace Fixes #82 — edition 2024 (resolver 3, unsafe extern blocks) Fixes #83 — GitHub Actions CI (fmt, clippy, test, cargo-deny) Fixes #84 — .clippy.toml with MSRV and quality thresholds Fixes #85 — deny.toml tightened (multiple-versions=deny) Fixes #87 — panic=abort, codegen-units=1 in release profile Fixes #89 — Makefile with install/uninstall/clean targets Fixes #90 — workspace lints: cargo group, unused_qualifications Key policy changes enforced by cargo: - unsafe_code = "deny" workspace-wide. Only pam.rs and crypt.rs have #[allow(unsafe_code)] (C FFI boundaries). - dead_code = "deny" workspace-wide. No unused code allowed. - Edition 2024: set_var/remove_var are unsafe, so sanitize_env returns a Vec instead of mutating. Signal handler removed (was unsafe). localtime_r replaced with pure Rust calendar math. 456 tests, zero clippy warnings.
620 B
620 B
Contributor Covenant Code of Conduct
This project adopts the Contributor Covenant, version 2.1. The full text is available at:
https://www.contributor-covenant.org/version/2/1/code_of_conduct/
Summary
We are committed to providing a welcoming and inclusive experience for everyone. We pledge to act and interact in ways that contribute to an open, diverse, and healthy community.
Enforcement
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the project maintainers via the contact methods listed in SECURITY.md.