From 8b5a71dd3a490718540a7e9d48da2a220256a628 Mon Sep 17 00:00:00 2001 From: Naz Date: Mon, 15 Sep 2025 14:50:08 +0100 Subject: =?UTF-8?q?=E2=9C=A8feat:=20dirty=20commit=20bringing=20basic=20fu?= =?UTF-8?q?nctionality?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.rs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index e7a11a9..4d78916 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,3 +1,9 @@ -fn main() { - println!("Hello, world!"); +use colored::Colorize; + +#[tokio::main] +async fn main() { + if let Err(e) = sbm_rs::run().await { + eprintln!("{} {}", "Error:".red().bold(), e); + std::process::exit(1); + } } -- cgit v1.2.3