mirror of
https://github.com/actix/examples
synced 2025-06-28 18:00:37 +02:00
Remove serde_derive https://github.com/serde-rs/serde/issues/1441#issuecomment-445481084
This commit is contained in:
@ -2,6 +2,7 @@ use actix_files::NamedFile;
|
||||
use actix_session::Session;
|
||||
use actix_web::middleware::errhandlers::ErrorHandlerResponse;
|
||||
use actix_web::{dev, error, http, web, Error, HttpResponse, Result};
|
||||
use serde::Deserialize;
|
||||
use tera::{Context, Tera};
|
||||
|
||||
use crate::db;
|
||||
|
@ -2,8 +2,6 @@
|
||||
extern crate diesel;
|
||||
#[macro_use]
|
||||
extern crate log;
|
||||
#[macro_use]
|
||||
extern crate serde_derive;
|
||||
|
||||
use std::{env, io};
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
use diesel;
|
||||
use diesel::pg::PgConnection;
|
||||
use diesel::prelude::*;
|
||||
use serde::Serialize;
|
||||
|
||||
use crate::schema::{
|
||||
tasks,
|
||||
|
@ -1,5 +1,6 @@
|
||||
use actix_session::Session;
|
||||
use actix_web::error::Result;
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
const FLASH_KEY: &str = "flash";
|
||||
|
||||
|
Reference in New Issue
Block a user