Reduced dependency on futures-rs

This commit is contained in:
Emi Tatsuo 2020-11-19 02:54:45 -05:00
parent 753ecf708d
commit e0abe6344b
Signed by: Emi
GPG key ID: 68FAB2E2E6DFC98B
5 changed files with 10 additions and 5 deletions

View file

@ -20,7 +20,8 @@ tokio = { version = "0.3.1", features = ["full"] }
mime = "0.3.16"
uriparse = "0.6.3"
percent-encoding = "2.1.0"
futures = "0.3.7"
futures-core = "0.3.7"
futures-util = "0.3.7"
log = "0.4.11"
webpki = "0.21.0"
lazy_static = "1.4.0"

View file

@ -1,5 +1,6 @@
use anyhow::*;
use futures::{future::BoxFuture, FutureExt};
use futures_core::future::BoxFuture;
use futures_util::FutureExt;
use log::LevelFilter;
use tokio::sync::RwLock;
use northstar::{Certificate, GEMINI_MIME, GEMINI_PORT, Request, Response, Server};

View file

@ -1,5 +1,6 @@
use anyhow::*;
use futures::{future::BoxFuture, FutureExt};
use futures_core::future::BoxFuture;
use futures_util::FutureExt;
use log::LevelFilter;
use northstar::{Server, Request, Response, GEMINI_PORT, Document};
use northstar::document::HeadingLevel::*;

View file

@ -1,5 +1,6 @@
use anyhow::*;
use futures::{future::BoxFuture, FutureExt};
use futures_core::future::BoxFuture;
use futures_util::FutureExt;
use log::LevelFilter;
use northstar::{Server, Request, Response, GEMINI_PORT};

View file

@ -7,7 +7,8 @@ use std::{
sync::Arc,
time::Duration,
};
use futures::{future::BoxFuture, FutureExt};
use futures_core::future::BoxFuture;
use futures_util::future::FutureExt;
use tokio::{
prelude::*,
io::{self, BufStream},