chore: initial commit for asepharyana-hub-scraper
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
#![doc = "Logging Setup"]
|
||||
use scraper_service::bootstrap::Application;
|
||||
|
||||
#[tokio::main(flavor = "multi_thread")]
|
||||
async fn main() -> anyhow::Result<()> {
|
||||
// Application setup and server logic is now encapsulated in `startup.rs`
|
||||
// This makes the main function clean and the app easier to integration test.
|
||||
let app = Application::build().await?;
|
||||
app.run().await?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
Reference in New Issue
Block a user