1
0
mirror of https://github.com/actix/examples synced 2025-06-28 18:00:37 +02:00

use cors and identity crates

This commit is contained in:
Nikolay Kim
2019-06-17 12:48:03 +06:00
parent c8467d1ffd
commit e7ed6755a5
9 changed files with 13 additions and 14 deletions

View File

@ -1,9 +1,8 @@
#[macro_use]
extern crate serde_derive;
use actix_web::{
http::header, middleware::cors::Cors, middleware::Logger, web, App, HttpServer,
};
use actix_cors::Cors;
use actix_web::{http::header, middleware::Logger, web, App, HttpServer};
mod user;