This commit is contained in:
@ -1,7 +1,7 @@
|
||||
use crate::axum::traits::BuildJson;
|
||||
use axum::body::Body;
|
||||
use axum::http::header::CONTENT_TYPE;
|
||||
use axum::http::Request;
|
||||
use axum::http::header::CONTENT_TYPE;
|
||||
use mime::APPLICATION_JSON;
|
||||
use serde::Serialize;
|
||||
use serde_json::json;
|
||||
|
@ -1,7 +1,7 @@
|
||||
use deadpool_diesel::postgres::BuildError;
|
||||
use diesel_async::pooled_connection::deadpool::Pool;
|
||||
use diesel_async::pooled_connection::AsyncDieselConnectionManager;
|
||||
use diesel_async::AsyncPgConnection;
|
||||
use diesel_async::pooled_connection::AsyncDieselConnectionManager;
|
||||
use diesel_async::pooled_connection::deadpool::Pool;
|
||||
|
||||
/// A type alias for the asynchronous PostgreSQL connection pool.
|
||||
pub type PgPool = Pool<AsyncPgConnection>;
|
||||
|
@ -1,6 +1,6 @@
|
||||
use {
|
||||
crate::traits::IntoResult,
|
||||
nom::{error::Error, IResult},
|
||||
nom::{IResult, error::Error},
|
||||
};
|
||||
|
||||
impl<T, R> IntoResult<T> for IResult<R, T> {
|
||||
|
Reference in New Issue
Block a user