Mercurial > crates > nonstick
changeset 192:4c39eaa4a5ae
Add crate categories to Cargo, and add a little pan in places.
author | Paul Fisher <paul@pfish.zone> |
---|---|
date | Sat, 02 Aug 2025 19:24:12 -0400 |
parents | e915c54097d6 |
children | 5074d8e00560 |
files | Cargo.toml libpam-sys/Cargo.toml libpam-sys/libpam-sys-helpers/Cargo.toml libpam-sys/libpam-sys-impls/Cargo.toml src/lib.rs |
diffstat | 5 files changed, 20 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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
--- 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
--- 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
--- 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"
--- 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.