refactor: group modules by data-flow stage behind a thin main

This commit is contained in:
Willem Vanhulle committed 2026-10-21 12:12:49 +02:00
1 parent f9cc94c633
commit 2191a27b82
38 files changed
+104 -88

No files matched your search

+7 -16
View File
@@ -1,12 +1,3 @@
mod ask_password;
mod boot_feed;
mod console_takeover;
mod monotonic_clock;
mod switch_root;
mod systemd_bus;
mod watch_error;
mod watch_loop;
use std::{
error::Error,
io::ErrorKind,
@@ -15,16 +6,16 @@ use std::{
time::Duration,
};
use bootvine::config_file::{Config, ConfigError, Timing, default_config_table, read_config_file};
use bootvine::{
console_session::watch_loop::{Settings, run},
screen_settings::config_file::{
Config, ConfigError, Timing, default_config_table, read_config_file,
},
systemd_link::{boot_feed::RootRequest, systemd_bus::Scope},
};
use clap::{Parser, Subcommand, ValueEnum};
use jiff::fmt::friendly::SpanParser;
use crate::{
boot_feed::RootRequest,
systemd_bus::Scope,
watch_loop::{Settings, run},
};
#[derive(Parser)]
#[command(
about = "Live dependency tree of systemd jobs while the system boots",