mirror of
https://github.com/actix/actix-web.git
synced 2024-11-26 03:21:08 +00:00
Update trust-dns-resolver requirement from 0.22 to 0.23 (#3121)
* Update trust-dns-resolver requirement from 0.22 to 0.23 Updates the requirements on [trust-dns-resolver](https://github.com/bluejekyll/trust-dns) to permit the latest version. - [Release notes](https://github.com/bluejekyll/trust-dns/releases) - [Changelog](https://github.com/bluejekyll/trust-dns/blob/main/CHANGELOG.md) - [Commits](https://github.com/bluejekyll/trust-dns/compare/v0.22.0...v0.23.0) --- updated-dependencies: - dependency-name: trust-dns-resolver dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> * fixup post-upgrade --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Rob Ede <robjtede@icloud.com>
This commit is contained in:
parent
76f6106f8f
commit
d445742974
3 changed files with 4 additions and 2 deletions
|
@ -2,6 +2,8 @@
|
||||||
|
|
||||||
## Unreleased
|
## Unreleased
|
||||||
|
|
||||||
|
- Update `trust-dns-resolver` dependency to `0.23`.
|
||||||
|
|
||||||
## 3.2.0
|
## 3.2.0
|
||||||
|
|
||||||
- Add `awc::Connector::rustls_021()` method for Rustls v0.21 support behind new `rustls-0_21` crate feature.
|
- Add `awc::Connector::rustls_021()` method for Rustls v0.21 support behind new `rustls-0_21` crate feature.
|
||||||
|
|
|
@ -91,7 +91,7 @@ tls-openssl = { package = "openssl", version = "0.10.55", optional = true }
|
||||||
tls-rustls-0_20 = { package = "rustls", version = "0.20", optional = true, features = ["dangerous_configuration"] }
|
tls-rustls-0_20 = { package = "rustls", version = "0.20", optional = true, features = ["dangerous_configuration"] }
|
||||||
tls-rustls-0_21 = { package = "rustls", version = "0.21", optional = true, features = ["dangerous_configuration"] }
|
tls-rustls-0_21 = { package = "rustls", version = "0.21", optional = true, features = ["dangerous_configuration"] }
|
||||||
|
|
||||||
trust-dns-resolver = { version = "0.22", optional = true }
|
trust-dns-resolver = { version = "0.23", optional = true }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
actix-http = { version = "3.4", features = ["openssl"] }
|
actix-http = { version = "3.4", features = ["openssl"] }
|
||||||
|
|
|
@ -915,7 +915,7 @@ mod resolver {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
let resolver = TokioAsyncResolver::tokio(cfg, opts).unwrap();
|
let resolver = TokioAsyncResolver::tokio(cfg, opts);
|
||||||
|
|
||||||
// box trust dns resolver and put it in thread local.
|
// box trust dns resolver and put it in thread local.
|
||||||
let resolver = Resolver::custom(TrustDnsResolver(resolver));
|
let resolver = Resolver::custom(TrustDnsResolver(resolver));
|
||||||
|
|
Loading…
Reference in a new issue