view testharness/Cargo.toml @ 160:09dff285ff5e

Switch default PAM detection strategy to target-based. To make cross-compilation easier (like for docs.rs), this change makes OS-based detection of PAM the default, only falling back to probing the actual installed PAM as a last resort. I haven't been able to find a Linux distribution that uses anything but Linux-PAM.
author Paul Fisher <paul@pfish.zone>
date Sun, 13 Jul 2025 15:38:00 -0400
parents efbc235f01d3
children 77470e45e397
line wrap: on
line source

[package]
name = "nonstick-testharness"
description = "Automatic test harness for the Nonstick PAM library."
publish = false
license.workspace = true
version.workspace = true
authors.workspace = true
edition.workspace = true
rust-version.workspace = true

[lib]
crate-type = ["cdylib"]

[features]
basic-ext = ["nonstick/basic-ext"]
linux-pam-ext = ["nonstick/linux-pam-ext"]
openpam-ext = ["nonstick/openpam-ext"]
sun-ext = ["nonstick/sun-ext"]
test-install = []

[dependencies]
nonstick = { path = ".." }

[dev-dependencies]
anyhow = "1.0.98"
test-cdylib = "1.1.0"
thiserror = "2.0.12"