inferd_daemon/lib.rs
1//! inferd daemon — internals exposed for integration testing.
2//!
3//! The shipped surface is the binary in `main.rs`. Library exports are
4//! intended for tests in `tests/` and for cross-crate integration tests
5//! in sibling crates; they are not a stable public API.
6
7// `deny` rather than `forbid` so the platform-specific peercred
8// submodules can scope an inner `#![allow(unsafe_code)]` for the
9// libc/Win32 FFI surface needed to read SO_PEERCRED /
10// GetNamedPipeClientProcessId. Every other module remains
11// unsafe-free.
12#![deny(unsafe_code)]
13#![warn(missing_docs, rust_2018_idioms)]
14
15pub mod admin;
16pub mod auth;
17pub mod config;
18pub mod config_file;
19pub mod endpoint;
20pub mod fetch;
21pub mod lifecycle;
22pub mod lifecycle_embed;
23pub mod lifecycle_v2;
24pub mod lock;
25pub mod logx;
26pub mod peercred;
27pub mod queue;
28pub mod redact;
29pub mod router;
30pub mod status;
31pub mod store;
32#[cfg(windows)]
33pub mod windows_security;