All checks were successful
continuous-integration/drone/push Build is passing
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.
12 lines
187 B
Rust
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(())
|
|
}
|