| Crates.io | pam-sys2 |
| lib.rs | pam-sys2 |
| version | 1.0.0 |
| created_at | 2025-08-20 19:55:01.886275+00 |
| updated_at | 2025-08-20 19:55:01.886275+00 |
| description | FFI wrappers for the Linux Pluggable Authentication Modules (PAM) |
| homepage | |
| repository | https://github.com/lechatp/pam-sys.git |
| max_upload_size | |
| id | 1803903 |
| size | 68,480 |
This crate uses bindgen to generate the raw FFI
definitions for PAM. For a rustified API consider using pam.
Hello! I forked this crate to provide maintenance and updates, since the original author has not been active for several years. This version integrates the latest changes from the original repository and adds some improvements, such as support for both Linux-PAM and OpenPAM, updated bindings generation, and with a functionnal CI.
While I will do my best to keep this fork up-to-date and functional, please note that I strongly recommend using nonstick instead of this crate for new projects.
This crate is a fork of the original pam-sys crate, with the following changes:
bindgen for better compatibility and features.generate-bindings feature to control when bindings are generated.The library is only continuously built against Rust stable, beta and nightly but as it does not use
a lot of new language features it should probably compile on older versions as well. The MSRV is
mostly determined by the version of bindgen used. If you encounter problems building on older
versions and a small fix can be applied to make the build succeed, consider opening a pull request.
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.