view libpam-sys/Cargo.toml @ 149:14708d9061dc

Add safety section to BinaryPayload::total_bytes.
author Paul Fisher <paul@pfish.zone>
date Mon, 07 Jul 2025 12:30:25 -0400
parents 4b3a5095f68c
children
line wrap: on
line source

[workspace]
resolver = "2"
members = ["libpam-sys-consts", "libpam-sys-helpers", "libpam-sys-test"]

[workspace.package]
version = "0.1.0"
authors = ["Paul Fisher <paul@pfish.zone>"]
repository = "https://hg.pfish.zone/crates/nonstick/"
edition = "2021"
rust-version = "1.75.0"
license = "MIT"

[package]
name = "libpam-sys"
description = "Low-level bindings for PAM (Pluggable Authentication Modules)"
links = "pam"
version.workspace = true
authors.workspace = true
repository.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true

[dependencies]
libc = "0.2"
libpam-sys-consts = { path = "libpam-sys-consts" }

[target.'cfg(doc)'.dependencies]
libpam-sys-helpers = { path = "libpam-sys-helpers" }

[dev-dependencies]
libpam-sys-helpers = { path = "libpam-sys-helpers" }

[build-dependencies]
libpam-sys-consts = { path = "libpam-sys-consts" }