Mercurial > crates > nonstick
view libpam-sys/libpam-sys-impls/README.md @ 190:995aca290452
Restructure the way libpam-sys-impls works to fix cross-compilation.
The previous structure of libpam-sys-impls meant that things got
confusing (including for me) between what constants were build-time
and what constants were run-time. This broke cross-compilation.
This simplifies the way that works so that `libpam-sys-impls` has
*no* build script itself and is intended mostly as a library to be
included in other libraries' build scripts (while also exporting
the PamImpl enum).
author | Paul Fisher <paul@pfish.zone> |
---|---|
date | Sat, 02 Aug 2025 18:47:46 -0400 |
parents | 0730f5f2ee2a |
children |
line wrap: on
line source
# `libpam-sys-impls`: LibPAM library detection This crate detects what implementation of LibPAM should be used, as part of the build script, and exports that information to downstream crates. It can also be used at runtime, but is primarily intended for build scripts. Its main use is as a backend for [libpam-sys](https://crates.io/crates/libpam-sys/). That crate re-exports pretty much everything we provide. In most cases, you can just use that instead of depending upon this directly. ## MSRV This library supports **Rust 1.75**, as the version currently (July 2025) available in Debian Trixie and Ubuntu 24.04 LTS.