Skip to main content

systemg/
lib.rs

1//! Lightweight process manager for Unix services.
2
3#![warn(unused_crate_dependencies)]
4#[cfg(test)]
5use assert_cmd as _;
6use crossterm as _;
7use ctrlc as _;
8#[cfg(target_os = "linux")]
9use openssl_sys as _;
10#[cfg(test)]
11use predicates as _;
12use strum as _;
13#[cfg(test)]
14use tempfile as _;
15use terminal_size as _;
16use tracing_subscriber as _;
17
18/// ASCII charting.
19pub mod charting;
20
21/// CLI parsing.
22pub mod cli;
23
24/// Config loading.
25pub mod config;
26
27/// Constants.
28pub mod constants;
29
30/// Metrics.
31pub mod metrics;
32
33/// Cron scheduler.
34pub mod cron;
35
36/// Process daemon.
37pub mod daemon;
38
39/// IPC with supervisor.
40pub mod ipc;
41
42/// Errors.
43pub mod error;
44
45/// Log streaming.
46pub mod logs;
47
48/// Status tracking.
49pub mod status;
50
51/// Supervisor daemon.
52pub mod supervisor;
53
54/// Dynamic spawn management.
55pub mod spawn;
56
57/// Test utils.
58#[doc(hidden)]
59pub mod test_utils;
60
61/// Runtime paths and modes.
62pub mod runtime;
63
64/// Privilege dropping.
65pub mod privilege;