# HG changeset patch # User Paul Fisher # Date 1754177052 14400 # Node ID 4c39eaa4a5ae33239aea5cc2d5fb35e801531ed2 # Parent e915c54097d6441e36b015cf9852e8842cd69aec Add crate categories to Cargo, and add a little pan in places. diff -r e915c54097d6 -r 4c39eaa4a5ae Cargo.toml --- a/Cargo.toml Sat Aug 02 19:01:21 2025 -0400 +++ b/Cargo.toml Sat Aug 02 19:24:12 2025 -0400 @@ -11,9 +11,14 @@ [package] name = "nonstick" -description = "PAM bindings for Rust" +description = "🍳 Safe Rust bindings for PAM applications and modules." readme = "README.md" -keywords = ["pam", "ffi", "linux", "authentication"] +keywords = ["pam", "ffi", "authentication"] +categories = [ + "api-bindings", + "authentication", + "os::unix-apis", +] license.workspace = true version.workspace = true authors.workspace = true diff -r e915c54097d6 -r 4c39eaa4a5ae libpam-sys/Cargo.toml --- a/libpam-sys/Cargo.toml Sat Aug 02 19:01:21 2025 -0400 +++ b/libpam-sys/Cargo.toml Sat Aug 02 19:24:12 2025 -0400 @@ -14,6 +14,11 @@ name = "libpam-sys" description = "Low-level bindings for PAM (Pluggable Authentication Modules)" links = "pam" +categories = [ + "authentication", + "external-ffi-bindings", + "os::unix-apis", +] version.workspace = true authors.workspace = true repository.workspace = true diff -r e915c54097d6 -r 4c39eaa4a5ae libpam-sys/libpam-sys-helpers/Cargo.toml --- a/libpam-sys/libpam-sys-helpers/Cargo.toml Sat Aug 02 19:01:21 2025 -0400 +++ b/libpam-sys/libpam-sys-helpers/Cargo.toml Sat Aug 02 19:24:12 2025 -0400 @@ -1,6 +1,6 @@ [package] name = "libpam-sys-helpers" -description = "Cross-platform helpers for libpam-sys." +description = "Cross-platform compatibility helpers for libpam-sys." version.workspace = true authors.workspace = true repository.workspace = true @@ -8,6 +8,10 @@ rust-version.workspace = true license.workspace = true readme = "README.md" +categories = [ + "api-bindings", + "os::unix-apis", +] [build-dependencies] libpam-sys-impls = { version = "0.1.1", path = "../libpam-sys-impls" } \ No newline at end of file diff -r e915c54097d6 -r 4c39eaa4a5ae libpam-sys/libpam-sys-impls/Cargo.toml --- a/libpam-sys/libpam-sys-impls/Cargo.toml Sat Aug 02 19:01:21 2025 -0400 +++ b/libpam-sys/libpam-sys-impls/Cargo.toml Sat Aug 02 19:24:12 2025 -0400 @@ -8,6 +8,7 @@ rust-version.workspace = true license.workspace = true readme = "README.md" +categories = ["development-tools::ffi"] [package.metadata.docs.rs] default-target = "x86_64-unknown-linux-gnu" diff -r e915c54097d6 -r 4c39eaa4a5ae src/lib.rs --- a/src/lib.rs Sat Aug 02 19:01:21 2025 -0400 +++ b/src/lib.rs Sat Aug 02 19:24:12 2025 -0400 @@ -1,4 +1,5 @@ -//! A safe, nonstick interface to the Pluggable Authentication Module framework. +//! 🍳 A safe, nonstick interface to +//! the Pluggable Authentication Modules framework. //! //! Nonstick provides a fully type- and memory-safe interface to //! all implementations of PAM, both for PAM modules and PAM applications.