mirror of
https://github.com/actix/examples
synced 2025-06-29 02:10:36 +02:00
Remove serde_derive https://github.com/serde-rs/serde/issues/1441#issuecomment-445481084
This commit is contained in:
@ -6,8 +6,7 @@
|
||||
//! of them can run in parallel and process messages from same queue.
|
||||
#[macro_use]
|
||||
extern crate diesel;
|
||||
#[macro_use]
|
||||
extern crate serde_derive;
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
use actix_web::{error, middleware, web, App, Error, HttpResponse, HttpServer};
|
||||
use diesel::prelude::*;
|
||||
|
@ -1,4 +1,5 @@
|
||||
use super::schema::users;
|
||||
use serde::Serialize;
|
||||
|
||||
#[derive(Serialize, Queryable)]
|
||||
pub struct User {
|
||||
|
Reference in New Issue
Block a user