1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-06-28 20:10:35 +02:00

update deps

This commit is contained in:
Nikolay Kim
2019-01-26 13:15:17 -08:00
parent ff6ac0a67f
commit 84bd257b86
11 changed files with 45 additions and 58 deletions

View File

@ -1,5 +1,12 @@
# Changes
## [0.1.2] - 2019-01-xx
* Upgrade trust-dns-resolver
* Use tokio-current-thread instead of diract actix-rt dipendency
## [0.1.1] - 2019-01-13
* Upgrade trust-dns-proto

View File

@ -1,6 +1,6 @@
[package]
name = "actix-connector"
version = "0.1.1"
version = "0.1.2"
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
description = "Actix Connector - tcp connector service"
keywords = ["network", "framework", "async", "futures"]
@ -27,13 +27,12 @@ default = []
ssl = ["openssl", "tokio-openssl"]
[dependencies]
actix-service = "0.1.1"
actix-service = "0.1.6"
actix-codec = "0.1.0"
actix-rt = "0.1.0"
futures = "0.1"
tokio-tcp = "0.1"
trust-dns-proto = "0.6.2"
trust-dns-resolver = "0.10.2"
tokio-current-thread = "0.1"
trust-dns-resolver = { version="0.11.0-alpha.1", default-features = false }
# openssl
openssl = { version="0.10", optional = true }

View File

@ -42,7 +42,7 @@ impl<T: RequestHost> Resolver<T> {
/// Create new resolver instance with custom configuration and options.
pub fn new(cfg: ResolverConfig, opts: ResolverOpts) -> Self {
let (resolver, bg) = AsyncResolver::new(cfg, opts);
actix_rt::Arbiter::spawn(bg);
tokio_current_thread::spawn(bg);
Resolver {
resolver,
req: PhantomData,