pam_kanidm/
lib.rs

1#![deny(warnings)]
2#![warn(unused_extern_crates)]
3#![deny(clippy::todo)]
4#![deny(clippy::unimplemented)]
5// In this file, we do want to panic on these faults.
6#![deny(clippy::unwrap_used)]
7#![deny(clippy::expect_used)]
8#![deny(clippy::panic)]
9#![deny(clippy::unreachable)]
10#![deny(clippy::await_holding_lock)]
11#![deny(clippy::needless_pass_by_value)]
12#![deny(clippy::trivially_copy_pass_by_ref)]
13
14#[cfg(target_family = "unix")]
15mod pam;
16
17pub(crate) mod core;
18
19// pub use needs to be here so it'll compile and export all the things
20#[cfg(target_family = "unix")]
21pub use crate::pam::*;
22
23#[cfg(test)]
24mod tests;