Mercurial > crates > nonstick
view libpam-sys/libpam-sys-consts/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 | d5b7b28d754e |
children |
line wrap: on
line source
[package] name = "libpam-sys-consts" description = "Constants exported by libpam and implementation detection." version.workspace = true authors.workspace = true repository.workspace = true edition.workspace = true rust-version.workspace = true license.workspace = true [package.metadata.docs.rs] default-target = "x86_64-unknown-linux-gnu" targets = [ "x86_64-apple-darwin", "x86_64-unknown-freebsd", "x86_64-unknown-illumos", ] [dependencies] libc = "0.2" [build-dependencies] libc = "0.2"