1
0
mirror of https://github.com/actix/examples synced 2025-06-29 02:10:36 +02:00
Roman Frołow
2020-01-12 14:04:02 +01:00
parent 9c34ded6fd
commit e89687e712
28 changed files with 32 additions and 42 deletions

View File

@ -1,6 +1,3 @@
#[macro_use]
extern crate serde_derive;
use actix_cors::Cors;
use actix_web::{http::header, middleware::Logger, web, App, HttpServer};

View File

@ -1,4 +1,5 @@
use actix_web::web;
use serde::{Deserialize, Serialize};
#[derive(Deserialize, Serialize, Debug)]
pub struct Info {