1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-06-25 06:39:22 +02:00

codegen: Minimize futures dependencies

This commit is contained in:
Yuki Okushi
2020-05-18 11:46:37 +09:00
parent fc8e07b947
commit 24372467d9
3 changed files with 3 additions and 3 deletions

View File

@ -1,10 +1,11 @@
use std::future::Future;
use std::pin::Pin;
use std::task::{Context, Poll};
use actix_web::{http, test, web::Path, App, HttpResponse, Responder, Error};
use actix_web::dev::{Service, Transform, ServiceRequest, ServiceResponse};
use actix_web_codegen::{connect, delete, get, head, options, patch, post, put, trace};
use futures::{future, Future};
use futures_util::future;
use actix_web::http::header::{HeaderName, HeaderValue};
// Make sure that we can name function as 'config'