refactor(server): work around deprecation of poll_accept method in tokio (#1890)
This commit is contained in:
committed by
Sean McArthur
parent
a543c8eef2
commit
9d5299b655
@@ -2,7 +2,7 @@
|
||||
#![deny(warnings)]
|
||||
|
||||
use tokio::io::AsyncReadExt;
|
||||
use tokio_fs::file::File;
|
||||
use tokio_fs::File;
|
||||
|
||||
use hyper::{Body, Method, Result, Request, Response, Server, StatusCode};
|
||||
use hyper::service::{make_service_fn, service_fn};
|
||||
|
||||
Reference in New Issue
Block a user