frogbot/src/main.rs

9 lines
213 B
Rust

use frogbot::{run, Config};
#[tokio::main]
async fn main() -> anyhow::Result<()> {
// init logging
tracing_subscriber::fmt::init();
let config = Config::load("./config.toml");
run(config).await
}