crieur/src/bin/crieur-chatbot.rs
koalp b1d025a23c
All checks were successful
continuous-integration/drone/push Build is passing
feat: move ArticleLocation to defined errors
Previously, the functions in article_location.rs where returning generic
anyhow::Result.

In order to ease error handling when using the library, it have been
moved to specific errors.
2021-04-30 19:55:52 +02:00

12 lines
187 B
Rust

use anyhow::Result;
use crieur_chatbot::run;
use dotenv::dotenv;
#[tokio::main]
async fn main() -> Result<()> {
env_logger::init();
dotenv().ok();
run().await?;
Ok(())
}