2020-09-06 00:44:35 +02:00
|
|
|
#![deny(warnings)]
|
2019-09-04 03:06:37 +02:00
|
|
|
#![warn(unused_extern_crates)]
|
2020-08-01 12:31:05 +02:00
|
|
|
#![deny(clippy::unwrap_used)]
|
|
|
|
#![deny(clippy::expect_used)]
|
2020-08-04 04:58:11 +02:00
|
|
|
// #![deny(clippy::panic)]
|
2020-08-01 12:31:05 +02:00
|
|
|
#![deny(clippy::unreachable)]
|
|
|
|
#![deny(clippy::await_holding_lock)]
|
|
|
|
#![deny(clippy::needless_pass_by_value)]
|
|
|
|
#![deny(clippy::trivially_copy_pass_by_ref)]
|
2019-09-04 03:06:37 +02:00
|
|
|
|
2021-02-17 09:36:28 +01:00
|
|
|
#[cfg(all(jemallocator, test))]
|
2021-02-10 06:08:22 +01:00
|
|
|
#[global_allocator]
|
|
|
|
static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc;
|
|
|
|
|
2019-09-04 03:06:37 +02:00
|
|
|
#[macro_use]
|
|
|
|
extern crate log;
|
|
|
|
#[macro_use]
|
|
|
|
extern crate serde_derive;
|
|
|
|
|
|
|
|
#[macro_use]
|
|
|
|
extern crate lazy_static;
|
|
|
|
|
2020-01-09 11:07:14 +01:00
|
|
|
// This has to be before 'be' so the import order works
|
2019-09-04 03:06:37 +02:00
|
|
|
#[macro_use]
|
2021-02-23 09:10:59 +01:00
|
|
|
pub mod macros;
|
|
|
|
|
2019-09-14 10:21:41 +02:00
|
|
|
mod crypto;
|
2021-02-23 09:10:59 +01:00
|
|
|
pub mod utils;
|
2019-09-04 03:06:37 +02:00
|
|
|
#[macro_use]
|
|
|
|
mod async_log;
|
|
|
|
#[macro_use]
|
2020-06-18 02:30:42 +02:00
|
|
|
pub mod audit;
|
2020-02-29 05:02:14 +01:00
|
|
|
pub mod be;
|
2019-09-04 03:06:37 +02:00
|
|
|
pub mod constants;
|
2020-02-29 05:02:14 +01:00
|
|
|
pub mod credential;
|
2021-02-23 09:10:59 +01:00
|
|
|
pub mod entry;
|
|
|
|
pub mod event;
|
|
|
|
pub mod filter;
|
2019-09-04 03:06:37 +02:00
|
|
|
mod interval;
|
2020-06-10 04:07:43 +02:00
|
|
|
pub(crate) mod ldap;
|
2019-09-04 03:06:37 +02:00
|
|
|
mod modify;
|
2021-02-23 09:10:59 +01:00
|
|
|
pub mod value;
|
2019-09-04 03:06:37 +02:00
|
|
|
#[macro_use]
|
|
|
|
mod plugins;
|
|
|
|
mod access;
|
|
|
|
mod actors;
|
2021-02-23 09:10:59 +01:00
|
|
|
pub mod idm;
|
2020-03-22 02:31:02 +01:00
|
|
|
mod repl;
|
2019-09-04 03:06:37 +02:00
|
|
|
mod schema;
|
2021-02-23 09:10:59 +01:00
|
|
|
pub mod server;
|
2020-05-07 06:08:06 +02:00
|
|
|
mod status;
|
2019-09-04 03:06:37 +02:00
|
|
|
|
|
|
|
pub mod config;
|
|
|
|
pub mod core;
|