This crate uses bindgen
to generate the raw FFI
definitions for PAM. For a rustified API consider using pam
.
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.
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.
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.
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.