started query cancellation

This commit is contained in:
Lev Kokotov
2022-02-04 09:28:52 -08:00
parent 381f06d46f
commit 8e88c47f76
5 changed files with 101 additions and 7 deletions

View File

@@ -7,12 +7,17 @@ extern crate tokio;
use bb8::Pool;
use tokio::net::TcpListener;
use std::collections::HashMap;
use std::sync::{Arc, Mutex};
mod client;
mod errors;
mod messages;
mod pool;
mod server;
type ClientServerMap = Arc<Mutex<HashMap<i32, i32>>>;
#[tokio::main]
async fn main() {
println!("> Welcome to PgRabbit");