view Cargo.toml @ 87:05291b601f0a

Well and truly separate the Linux extensions. This separates the Linux extensions on the libpam side, and disables the two enums on the interface side. Users can still call the Linux extensions from non-Linux PAM impls, but they'll get a conversation error back.
author Paul Fisher <paul@pfish.zone>
date Tue, 10 Jun 2025 04:40:01 -0400
parents 5aa1a010f1e8
children c9fc7e6257d3
line wrap: on
line source

[package]
name = "nonstick"
description = "PAM bindings for Rust"
version = "0.0.6"
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]
default = ["link"]
# Enable this to actually link against your system's PAM library.
link = []
# Enable this to get access to Linux-PAM extensions.
linux-pam-extensions = []
# Enable this to get access to OpenPAM features not available in Linux-PAM.
openpam = []

[dependencies]
bitflags = "2.9.0"
libc = "0.2.97"
num_enum = "0.7.3"
secure-string = "0.3.0"
thiserror = "2.0.12"

[build-dependencies]
bindgen = "0.72.0"