2020-06-18 02:30:42 +02:00
|
|
|
#![deny(warnings)]
|
2020-08-01 12:31:05 +02:00
|
|
|
#![warn(unused_extern_crates)]
|
2022-02-20 03:43:38 +01:00
|
|
|
#![deny(clippy::todo)]
|
|
|
|
#![deny(clippy::unimplemented)]
|
2020-09-08 04:46:10 +02:00
|
|
|
// In this file, we do want to panic on these faults.
|
|
|
|
// #![deny(clippy::unwrap_used)]
|
|
|
|
// #![deny(clippy::expect_used)]
|
2020-08-01 12:31:05 +02:00
|
|
|
#![deny(clippy::panic)]
|
|
|
|
#![deny(clippy::unreachable)]
|
|
|
|
#![deny(clippy::await_holding_lock)]
|
|
|
|
#![deny(clippy::needless_pass_by_value)]
|
|
|
|
#![deny(clippy::trivially_copy_pass_by_ref)]
|
|
|
|
|
2023-02-28 02:39:39 +01:00
|
|
|
#[cfg(target_family = "unix")]
|
2020-02-29 05:02:14 +01:00
|
|
|
mod pam;
|
|
|
|
|
2023-02-28 02:39:39 +01:00
|
|
|
// pub use needs to be here so it'll compile and export all the things
|
|
|
|
#[cfg(target_family = "unix")]
|
|
|
|
pub use crate::pam::*;
|