1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-07-28 11:02:02 +03:00

Fix building on older Rust versions

This commit is contained in:
Quentin Gliech
2022-10-05 15:23:55 +02:00
parent 7e288c0c5d
commit 9309f04880

View File

@ -16,10 +16,10 @@ use std::{
ops::Deref, ops::Deref,
pin::Pin, pin::Pin,
sync::Arc, sync::Arc,
task::{ready, Context, Poll}, task::{Context, Poll},
}; };
use futures_util::Future; use futures_util::{ready, Future};
use hyper::server::accept::Accept; use hyper::server::accept::Accept;
use tokio::io::{AsyncRead, AsyncWrite, ReadBuf}; use tokio::io::{AsyncRead, AsyncWrite, ReadBuf};
use tokio_rustls::rustls::{ServerConfig, ServerConnection}; use tokio_rustls::rustls::{ServerConfig, ServerConnection};