From 9006d5828010dfeab39e0b6f81cc6f9a0822259f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 5 Sep 2022 16:10:27 +0000 Subject: [PATCH] Bump trust-dns-proto from 0.21.2 to 0.22.0 Bumps [trust-dns-proto](https://github.com/bluejekyll/trust-dns) from 0.21.2 to 0.22.0. - [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.21.2...v0.22.0) --- updated-dependencies: - dependency-name: trust-dns-proto dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Cargo.lock | 55 +++++++++++++++++++++++++++-- crates/shadowsocks-tools/Cargo.toml | 2 +- 2 files changed, 53 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index fae2831db224..037e17474fb5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -579,6 +579,18 @@ dependencies = [ "syn", ] +[[package]] +name = "enum-as-inner" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c9720bba047d567ffc8a3cba48bf19126600e249ab7f128e9233e6376976a116" +dependencies = [ + "heck", + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "env_logger" version = "0.9.0" @@ -2109,7 +2121,7 @@ dependencies = [ "rand", "shadowsocks", "tokio", - "trust-dns-proto", + "trust-dns-proto 0.22.0", ] [[package]] @@ -2479,9 +2491,21 @@ dependencies = [ "cfg-if", "log", "pin-project-lite", + "tracing-attributes", "tracing-core", ] +[[package]] +name = "tracing-attributes" +version = "0.1.22" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "11c75893af559bc8e10716548bdef5cb2b983f8e637db9d0e15126b61b484ee2" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "tracing-core" version = "0.1.29" @@ -2507,7 +2531,7 @@ dependencies = [ "bytes", "cfg-if", "data-encoding", - "enum-as-inner", + "enum-as-inner 0.4.0", "futures-channel", "futures-io", "futures-util", @@ -2531,6 +2555,31 @@ dependencies = [ "webpki-roots", ] +[[package]] +name = "trust-dns-proto" +version = "0.22.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4f7f83d1e4a0e4358ac54c5c3681e5d7da5efc5a7a632c90bb6d6669ddd9bc26" +dependencies = [ + "async-trait", + "cfg-if", + "data-encoding", + "enum-as-inner 0.5.1", + "futures-channel", + "futures-io", + "futures-util", + "idna", + "ipnet", + "lazy_static", + "rand", + "smallvec", + "thiserror", + "tinyvec", + "tokio", + "tracing", + "url", +] + [[package]] name = "trust-dns-resolver" version = "0.21.2" @@ -2551,7 +2600,7 @@ dependencies = [ "thiserror", "tokio", "tokio-rustls", - "trust-dns-proto", + "trust-dns-proto 0.21.2", "webpki-roots", ] diff --git a/crates/shadowsocks-tools/Cargo.toml b/crates/shadowsocks-tools/Cargo.toml index 8d980e746229..fa800c5bc0e0 100644 --- a/crates/shadowsocks-tools/Cargo.toml +++ b/crates/shadowsocks-tools/Cargo.toml @@ -12,7 +12,7 @@ shadowsocks = { version = "1.12.3", path = "../shadowsocks" } clap = { version = "3", features = ["wrap_help", "suggestions"] } tokio = { version = "1", features = ["full"] } -trust-dns-proto = "0.21" +trust-dns-proto = "0.22" rand = "0.8" env_logger = "0.9" byteorder = "1.3"