mirror of
https://git.asonix.dog/asonix/pict-rs.git
synced 2024-11-28 12:31:00 +00:00
Use diesel-async re-export of Hook
This commit is contained in:
parent
745e990fa0
commit
ecdbaa9c92
1 changed files with 1 additions and 2 deletions
|
@ -12,11 +12,10 @@ use std::{
|
||||||
};
|
};
|
||||||
|
|
||||||
use dashmap::DashMap;
|
use dashmap::DashMap;
|
||||||
use deadpool::managed::Hook;
|
|
||||||
use diesel::prelude::*;
|
use diesel::prelude::*;
|
||||||
use diesel_async::{
|
use diesel_async::{
|
||||||
pooled_connection::{
|
pooled_connection::{
|
||||||
deadpool::{BuildError, Object, Pool, PoolError},
|
deadpool::{BuildError, Hook, Object, Pool, PoolError},
|
||||||
AsyncDieselConnectionManager, ManagerConfig,
|
AsyncDieselConnectionManager, ManagerConfig,
|
||||||
},
|
},
|
||||||
AsyncConnection, AsyncPgConnection, RunQueryDsl,
|
AsyncConnection, AsyncPgConnection, RunQueryDsl,
|
||||||
|
|
Loading…
Reference in a new issue