mirror of https://github.com/fafhrd91/actix-net
Revert patching and fix 'actix-rt'
This commit is contained in:
parent
036d55bdf7
commit
bfbf8d14e9
|
@ -22,5 +22,6 @@ actix-server = { path = "actix-server" }
|
|||
actix-server-config = { path = "actix-server-config" }
|
||||
actix-service = { path = "actix-service" }
|
||||
actix-testing = { path = "actix-testing" }
|
||||
actix-threadpool = { path = "actix-threadpool" }
|
||||
actix-utils = { path = "actix-utils" }
|
||||
actix-router = { path = "router" }
|
||||
|
|
|
@ -18,7 +18,7 @@ name = "actix_rt"
|
|||
path = "src/lib.rs"
|
||||
|
||||
[dependencies]
|
||||
actix-threadpool = "0.1.1"
|
||||
actix-threadpool = "0.2"
|
||||
futures = "0.3.1"
|
||||
|
||||
# TODO: Replace this with dependency on tokio-runtime once it is ready
|
||||
|
|
|
@ -4,11 +4,11 @@ use std::collections::HashMap;
|
|||
use std::sync::atomic::{AtomicUsize, Ordering};
|
||||
use std::{fmt, thread};
|
||||
use std::pin::Pin;
|
||||
use std::task::Context;
|
||||
use std::task::{Context, Poll};
|
||||
|
||||
use futures::channel::mpsc::{unbounded, UnboundedReceiver, UnboundedSender};
|
||||
use futures::channel::oneshot::{channel, Canceled, Sender};
|
||||
use futures::{future, Future, Poll, FutureExt, Stream};
|
||||
use futures::{future, Future, FutureExt, Stream};
|
||||
use tokio::runtime::current_thread::spawn;
|
||||
|
||||
use crate::builder::Builder;
|
||||
|
|
Loading…
Reference in New Issue