view libpam-sys/Cargo.toml @ 134:6c1e1bdb4164

Use standard #[cfg] directives rather than custom proc macros. Instead of having to do a bunch of custom parsing and other logic that tools often choke on, this change introduces an easy way to depend upon custom #[cfg]s provided by the libpam-sys crate.
author Paul Fisher <paul@pfish.zone>
date Thu, 03 Jul 2025 11:03:36 -0400
parents a632a8874131
children b52594841480
line wrap: on
line source

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

[features]
default = ["helpers"]
helpers = []

[dependencies]
libc = "0.2"
num_enum = "0.7.4"

[build-dependencies]
libc = "0.2"