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
6,938 downloads per month
Used in 21 crates
(5 directly)
10KB
53 lines
pam-sys - Rust FFI bindings to the Linux Pluggable Authentication Modules (PAM)
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
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
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