mirror of
https://github.com/actix/examples
synced 2025-06-26 17:17:42 +02:00
chore: fmt
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
use actix_web::{error, post, web, App, HttpRequest, HttpResponse, HttpServer, Responder};
|
||||
use actix_web::{App, HttpRequest, HttpResponse, HttpServer, Responder, error, post, web};
|
||||
use serde::Deserialize;
|
||||
|
||||
#[derive(Debug, Deserialize)]
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
use std::{fmt, io};
|
||||
|
||||
use actix_web::{http::StatusCode, web, App, HttpResponse, HttpServer, ResponseError};
|
||||
use actix_web::{App, HttpResponse, HttpServer, ResponseError, http::StatusCode, web};
|
||||
use serde::Serialize;
|
||||
|
||||
#[derive(Debug, Serialize)]
|
||||
|
@ -15,9 +15,9 @@
|
||||
use std::io;
|
||||
|
||||
use actix_web::{
|
||||
App, Error, HttpResponse, HttpServer,
|
||||
error::ErrorBadRequest,
|
||||
web::{self, BytesMut},
|
||||
App, Error, HttpResponse, HttpServer,
|
||||
};
|
||||
use awc::Client;
|
||||
use futures_util::StreamExt as _;
|
||||
|
@ -1,4 +1,4 @@
|
||||
use actix_web::{middleware, web, App, Error, HttpRequest, HttpResponse, HttpServer};
|
||||
use actix_web::{App, Error, HttpRequest, HttpResponse, HttpServer, middleware, web};
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
#[derive(Debug, Serialize, Deserialize)]
|
||||
|
Reference in New Issue
Block a user