mirror of
https://github.com/actix/examples
synced 2025-06-28 09:50:36 +02:00
Remove serde_derive https://github.com/serde-rs/serde/issues/1441#issuecomment-445481084
This commit is contained in:
@ -8,8 +8,7 @@ edition = "2018"
|
||||
actix-rt = "1.0.0"
|
||||
actix-web = "2.0.0"
|
||||
actix-cors = "0.2.0"
|
||||
serde = "1.0"
|
||||
serde_derive = "1.0"
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1.0"
|
||||
dotenv = "0.10"
|
||||
env_logger = "0.6"
|
||||
|
@ -1,6 +1,3 @@
|
||||
#[macro_use]
|
||||
extern crate serde_derive;
|
||||
|
||||
use actix_cors::Cors;
|
||||
use actix_web::{http::header, middleware::Logger, web, App, HttpServer};
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
use actix_web::web;
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
#[derive(Deserialize, Serialize, Debug)]
|
||||
pub struct Info {
|
||||
|
Reference in New Issue
Block a user