fix build
This commit is contained in:
parent
a5ebc202e5
commit
cf9b8f0c26
@ -13,7 +13,7 @@ use actix_web::{
|
|||||||
use async_trait::async_trait;
|
use async_trait::async_trait;
|
||||||
use derive_more::{Display, Error};
|
use derive_more::{Display, Error};
|
||||||
use sea_orm::DatabaseConnection;
|
use sea_orm::DatabaseConnection;
|
||||||
use serde::Serialize;
|
use serde_derive::{Serialize};
|
||||||
use tera::Tera;
|
use tera::Tera;
|
||||||
use std::collections::HashMap;
|
use std::collections::HashMap;
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@ use async_trait::async_trait;
|
|||||||
use chrono::{NaiveDate, NaiveDateTime};
|
use chrono::{NaiveDate, NaiveDateTime};
|
||||||
use futures_util::stream::StreamExt as _;
|
use futures_util::stream::StreamExt as _;
|
||||||
use sea_orm::{DatabaseConnection, EntityTrait};
|
use sea_orm::{DatabaseConnection, EntityTrait};
|
||||||
use serde::Serialize;
|
use serde_derive::Serialize;
|
||||||
use std::collections::HashMap;
|
use std::collections::HashMap;
|
||||||
use std::fs::File;
|
use std::fs::File;
|
||||||
use std::io::Write;
|
use std::io::Write;
|
||||||
|
@ -3,8 +3,7 @@ use sea_orm::DatabaseConnection;
|
|||||||
use urlencoding::decode;
|
use urlencoding::decode;
|
||||||
use crate::prelude::*;
|
use crate::prelude::*;
|
||||||
use actix_web::{error, web, Error, HttpRequest, HttpResponse};
|
use actix_web::{error, web, Error, HttpRequest, HttpResponse};
|
||||||
use serde::Deserialize;
|
use serde_derive::{Serialize, Deserialize};
|
||||||
use serde::Serialize;
|
|
||||||
use tera::Context;
|
use tera::Context;
|
||||||
|
|
||||||
use super::{
|
use super::{
|
||||||
|
@ -22,7 +22,7 @@ pub use helpers::{ add_auth_context, user_can_access_page, render_unauthorized }
|
|||||||
mod file;
|
mod file;
|
||||||
pub use file::{download, delete_file};
|
pub use file::{download, delete_file};
|
||||||
|
|
||||||
use serde::{Deserialize};
|
use serde_derive::{Deserialize};
|
||||||
#[derive(Debug, Deserialize)]
|
#[derive(Debug, Deserialize)]
|
||||||
pub struct Params {
|
pub struct Params {
|
||||||
page: Option<u64>,
|
page: Option<u64>,
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
use async_trait::async_trait;
|
use async_trait::async_trait;
|
||||||
use regex::Regex;
|
use regex::Regex;
|
||||||
use sea_orm::DatabaseConnection;
|
use sea_orm::DatabaseConnection;
|
||||||
use serde::{Serialize, Deserialize};
|
use serde_derive::{Serialize, Deserialize};
|
||||||
use std::collections::HashMap;
|
use std::collections::HashMap;
|
||||||
use crate::{ActixAdminModel, SortOrder};
|
use crate::{ActixAdminModel, SortOrder};
|
||||||
use actix_session::{Session};
|
use actix_session::{Session};
|
||||||
|
Loading…
Reference in New Issue
Block a user