view Cargo.toml @ 78:002adfb98c5c

Rename files, reorder structs, remove annoying BorrowedBinaryData type. This is basically a cleanup change. Also it adds tests. - Renames the files with Questions and Answers to question and answer. - Reorders the structs in those files to put the important ones first. - Removes the BorrowedBinaryData type. It was a bad idea all along. Instead, we just use (&[u8], u8). - Adds some tests because I just can't help myself.
author Paul Fisher <paul@pfish.zone>
date Sun, 08 Jun 2025 03:48:40 -0400
parents 351bdc13005e
children 5aa1a010f1e8
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 = []

[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"