view Cargo.toml @ 66:a674799a5cd3

Make `PamHandle` and `PamModuleHandle` traits. This creates traits for PAM functionality and pulls the definitions of that functionality out of the original `PamHandle` (renamed to `LibPamHandle`) and into those traits. This supports testing PAM module implementations using mock PAM library implementations. Also uses a better representation of opaque pointers.
author Paul Fisher <paul@pfish.zone>
date Tue, 27 May 2025 14:37:28 -0400
parents d83623951070
children 71e432a213ee
line wrap: on
line source

[package]
name = "nonstick"
description = "PAM bindings for Rust"
version = "0.0.6-dev0"
authors = ["Paul Fisher <paul@pfish.zone>", "Anthony Nowell <anowell@gmail.com>" ]
repository = "https://hg.pfish.zone/crates/nonstick/"
readme = "README.md"
keywords = ["pam", "ffi", "linux", "authentication"]
license = "MIT"
edition = "2021"

[features]
experimental = []

[dependencies]
bitflags = "2.9.0"
libc = "0.2.97"
num-derive = "0.4.2"
num-traits = "0.2.19"
secure-string = "0.3.0"
thiserror = "2.0.12"