Personal ATProto tools.
1//! Main entrypoint.
2#![expect(let_underscore_drop)]
3
4#[tokio::main(flavor = "current_thread")]
5async fn main() -> Result<(), Box<dyn std::error::Error>> {
6 let subscriber = tracing_subscriber::fmt()
7 .compact() // Use a more compact, abbreviated log format
8 .with_file(true) // Display source code file paths
9 .with_line_number(true) // Display source code line numbers
10 .with_thread_ids(true) // Display the thread ID an event was recorded on
11 .with_target(false) // Don't display the event's target (module path)
12 .finish(); // Build the subscriber
13 tracing::subscriber::set_global_default(subscriber)?;
14 let _ = tokio::spawn(atproto_teq::webserve::main_webserve()).await;
15 Ok(())
16}