mirror of
https://git.asonix.dog/asonix/background-jobs.git
synced 2024-05-21 13:08:09 +00:00
10 lines
270 B
Rust
10 lines
270 B
Rust
use background_jobs::postgres::Storage;
|
|
|
|
#[tokio::main]
|
|
async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|
let storage =
|
|
Storage::connect("postgres://postgres:postgres@localhost:5432/db".parse()?).await?;
|
|
println!("Hello, world!");
|
|
Ok(())
|
|
}
|