2024-11-23 22:58:43 +01:00
|
|
|
mod api;
|
|
|
|
mod cli;
|
|
|
|
mod state;
|
2024-11-24 01:34:06 +01:00
|
|
|
mod grpc {
|
|
|
|
include!("grpc/churn.v1.rs");
|
|
|
|
}
|
2024-11-23 22:39:13 +01:00
|
|
|
|
2024-11-24 00:53:43 +01:00
|
|
|
mod agent;
|
2024-11-24 17:12:15 +01:00
|
|
|
mod server;
|
2024-11-24 00:53:43 +01:00
|
|
|
|
2024-11-23 22:39:13 +01:00
|
|
|
#[tokio::main]
|
|
|
|
async fn main() -> anyhow::Result<()> {
|
|
|
|
dotenv::dotenv().ok();
|
|
|
|
tracing_subscriber::fmt::init();
|
|
|
|
|
2024-11-23 22:58:43 +01:00
|
|
|
cli::execute().await?;
|
2024-11-23 22:39:13 +01:00
|
|
|
|
|
|
|
Ok(())
|
|
|
|
}
|