kalkutago/src/main.rs

13 lines
256 B
Rust
Raw Normal View History

2023-06-06 10:27:02 -04:00
#![feature(default_free_fn)]
mod db;
mod error;
mod migrator;
2023-06-06 10:27:02 -04:00
use error::Result;
use sea_orm::Database;
#[tokio::main]
async fn main() -> Result<()> {
let db = Database::connect(db::connection_url()).await?;
Ok(println!("Hello, world! {db:?}"))
}