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

upgrade example to actix-web 0.7

This commit is contained in:
Nikolay Kim
2018-07-16 12:36:53 +06:00
parent 0b52c7850e
commit 2cc1b23761
57 changed files with 913 additions and 693 deletions

View File

@ -8,7 +8,10 @@ extern crate serde;
extern crate serde_json;
use actix_web::{
http::{header, Method}, middleware, middleware::cors::Cors, server, App,
http::{header, Method},
middleware,
middleware::cors::Cors,
server, App,
};
use std::env;