2
0
Fork 0
mirror of https://git.asonix.dog/asonix/pict-rs synced 2024-11-20 11:21:14 +00:00

Use diesel-async re-export of Hook

This commit is contained in:
asonix 2023-09-24 15:48:19 -05:00
parent 745e990fa0
commit ecdbaa9c92

View file

@ -12,11 +12,10 @@ use std::{
};
use dashmap::DashMap;
use deadpool::managed::Hook;
use diesel::prelude::*;
use diesel_async::{
pooled_connection::{
deadpool::{BuildError, Object, Pool, PoolError},
deadpool::{BuildError, Hook, Object, Pool, PoolError},
AsyncDieselConnectionManager, ManagerConfig,
},
AsyncConnection, AsyncPgConnection, RunQueryDsl,