Something went wrong. Try again.
Personal ATProto tools.
Something went wrong. Try again.
740 B · 16 lines
Rust
at main
1234567891011121314151617//! Main entrypoint.#![expect(let_underscore_drop)]
#[tokio::main(flavor = "current_thread")]async fn main() -> Result<(), Box<dyn std::error::Error>> { let subscriber = tracing_subscriber::fmt() .compact() // Use a more compact, abbreviated log format .with_file(true) // Display source code file paths .with_line_number(true) // Display source code line numbers .with_thread_ids(true) // Display the thread ID an event was recorded on .with_target(false) // Don't display the event's target (module path) .finish(); // Build the subscriber tracing::subscriber::set_global_default(subscriber)?; let _ = tokio::spawn(atproto_teq::webserve::main_webserve()).await; Ok(())}