mirror of
https://github.com/ParrotXray/Mantis.git
synced 2026-08-24 19:00:27 +09:00
17 lines
293 B
Rust
17 lines
293 B
Rust
mod core;
|
|
mod model;
|
|
mod utils;
|
|
mod web;
|
|
mod detection;
|
|
|
|
use crate::core::system::System;
|
|
use crate::model::error::Error;
|
|
|
|
#[actix_web::main]
|
|
async fn main() -> Result<(), Error> {
|
|
let mut system = System::new().await?;
|
|
system.run().await?;
|
|
system.terminate().await?;
|
|
Ok(())
|
|
}
|