19 lines
414 B
Rust
19 lines
414 B
Rust
//! arr — reconcile loop and process entry point. See DESIGN.md §8.
|
|
|
|
mod config;
|
|
|
|
use std::process::ExitCode;
|
|
|
|
fn main() -> ExitCode {
|
|
match config::Config::load() {
|
|
Ok(config) => {
|
|
println!("arr starting, bind_addr={}", config.bind_addr);
|
|
ExitCode::SUCCESS
|
|
}
|
|
Err(err) => {
|
|
eprintln!("arr: {err}");
|
|
ExitCode::FAILURE
|
|
}
|
|
}
|
|
}
|