1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-06-26 10:27:42 +02:00

standardize future types to ones from actix_utils

This commit is contained in:
Rob Ede
2021-12-08 07:29:12 +00:00
parent ec66754c0d
commit 56051786a6
19 changed files with 51 additions and 40 deletions

View File

@ -3,7 +3,7 @@ use actix_web::{http::header, web, App, HttpServer};
#[actix_web::main]
async fn main() -> std::io::Result<()> {
pretty_env_logger::init();
env_logger::init_from_env(env_logger::Env::new().default_filter_or("info"));
HttpServer::new(move || {
App::new()