22 releases

1.0.0-alpha5 Nov 1, 2023
1.0.0-alpha4 Jan 19, 2022
1.0.0-alpha3 Mar 28, 2021
1.0.0-alpha2 May 3, 2020
0.0.4 Mar 29, 2015

#342 in Unix APIs

Download history 1951/week @ 2024-07-21 2599/week @ 2024-07-28 3979/week @ 2024-08-04 2395/week @ 2024-08-11 1676/week @ 2024-08-18 1733/week @ 2024-08-25 3164/week @ 2024-09-01 2148/week @ 2024-09-08 1602/week @ 2024-09-15 1866/week @ 2024-09-22 2481/week @ 2024-09-29 1918/week @ 2024-10-06 1655/week @ 2024-10-13 1294/week @ 2024-10-20 1510/week @ 2024-10-27 2295/week @ 2024-11-03

6,938 downloads per month
Used in 21 crates (5 directly)

MIT/Apache

10KB
53 lines

pam-sys - Rust FFI bindings to the Linux Pluggable Authentication Modules (PAM)

Crates.io Documentation Build Status Azure Build Status Cirrus License

This crate uses bindgen to generate the raw FFI definitions for PAM. For a rustified API consider using pam.

Supported Rust versions (MSRV)

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.

Supported operating systems

Currently this library is only thoroughly tested on Linux (due to the lack of reliable access to other platforms). However, support of all operating systems supported by PAM is an explicit goal. If you spot an error, please open an issue and I'll try to resolve it.

License

Licensed under either of

at your option.

Contribution

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.

Dependencies

~0–1.9MB
~37K SLoC