1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-07-09 14:56:14 +02:00

actix-rt: minimize futures dependencies to futures-{channel,util} with default features off (#104)

* build(deps): minimize `futures` deps by using `futures-channel` and `futures-util` directly

* style(actix-rt): enforce spaces around equals in `Cargo.toml`
This commit is contained in:
Erich Gubler
2020-02-26 09:15:21 -07:00
committed by GitHub
parent f1685d8253
commit 1b7c969f6a
5 changed files with 11 additions and 10 deletions

View File

@ -1,9 +1,9 @@
use std::borrow::Cow;
use std::io;
use futures::channel::mpsc::unbounded;
use futures::channel::oneshot::{channel, Receiver};
use futures::future::{lazy, Future, FutureExt};
use futures_channel::mpsc::unbounded;
use futures_channel::oneshot::{channel, Receiver};
use futures_util::future::{lazy, Future, FutureExt};
use tokio::task::LocalSet;
use crate::arbiter::{Arbiter, SystemArbiter};