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:
@ -13,9 +13,8 @@ bytes = "0.4"
|
||||
env_logger = "0.6"
|
||||
futures = "0.3.1"
|
||||
uuid = { version = "0.5", features = ["serde", "v4"] }
|
||||
serde = "1.0"
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1.0"
|
||||
serde_derive = "1.0"
|
||||
|
||||
diesel = { version = "^1.1.0", features = ["sqlite", "r2d2"] }
|
||||
r2d2 = "0.8"
|
||||
|
@ -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