1 2 3 4 5 6 7 8 9 10
#[cfg(feature = "self-telemetry")] #[dial9::main(config = dial9::recorder_from_env)] async fn main() -> anyhow::Result<()> { dial9_viewer::cli::run().await } #[cfg(not(feature = "self-telemetry"))] fn main() -> anyhow::Result<()> { dial9_viewer::cli::run_blocking() }