[refactor] removed unused api.rs
module to streamline code structure
This commit is contained in:
19
backend-rust/crates/app/src/main.rs
Normal file
19
backend-rust/crates/app/src/main.rs
Normal file
@@ -0,0 +1,19 @@
|
||||
use tracing_subscriber::{layer::SubscriberExt, util::SubscriberInitExt};
|
||||
|
||||
#[tokio::main]
|
||||
async fn main() -> anyhow::Result<()> {
|
||||
// Basic tracing setup (adjust as needed)
|
||||
tracing_subscriber::registry()
|
||||
.with(
|
||||
tracing_subscriber::EnvFilter::try_from_default_env()
|
||||
.unwrap_or_else(|_| "info".into()),
|
||||
)
|
||||
.with(tracing_subscriber::fmt::layer())
|
||||
.init();
|
||||
|
||||
// TODO: invoke your API server bootstrap here.
|
||||
// For example, if you have a function like `owly-news-api::run_server().await`
|
||||
// call it here. This is just a placeholder:
|
||||
tracing::info!("owly-news app starting...");
|
||||
Ok(())
|
||||
}
|
Reference in New Issue
Block a user