use prelude instead of specific imports for diesel traits

sooooo many traits
main
Zynh0722 2023-11-06 20:42:20 -08:00
parent da718cf238
commit 40a5b99f02
1 changed files with 1 additions and 3 deletions

View File

@ -20,9 +20,7 @@ use axum::{
Router, Router,
}; };
use diesel::{ use diesel::prelude::*;
result::OptionalExtension, BelongingToDsl, ExpressionMethods, QueryDsl, SelectableHelper,
};
use diesel_async::{ use diesel_async::{
pooled_connection::{deadpool::Pool, AsyncDieselConnectionManager}, pooled_connection::{deadpool::Pool, AsyncDieselConnectionManager},