1
0
mirror of https://github.com/actix/examples synced 2025-06-26 17:17:42 +02:00

group imports

This commit is contained in:
Rob Ede
2022-07-09 21:08:11 +01:00
parent 4b801ba222
commit a64e21ee6e
23 changed files with 66 additions and 50 deletions

View File

@ -1,12 +1,15 @@
use actix_web::body::BoxBody;
use actix_web::dev::ServiceResponse;
use actix_web::http::header::ContentType;
use actix_web::http::StatusCode;
use actix_web::middleware::{ErrorHandlerResponse, ErrorHandlers};
use actix_web::{get, web, App, HttpResponse, HttpServer, Result};
use std::io;
use actix_web::{
body::BoxBody,
dev::ServiceResponse,
get,
http::{header::ContentType, StatusCode},
middleware::{ErrorHandlerResponse, ErrorHandlers},
web, App, HttpResponse, HttpServer, Result,
};
use handlebars::Handlebars;
use serde_json::json;
use std::io;
// Macro documentation can be found in the actix_web_codegen crate
#[get("/")]