From: Matt Corallo Date: Wed, 10 Jul 2024 14:21:26 +0000 (+0000) Subject: Drop unused `hex_conservative` dependency X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=31e7db4e78b1ea76ed78b31372181aa5e22e95a2;p=lightning-resolver Drop unused `hex_conservative` dependency --- diff --git a/Cargo.toml b/Cargo.toml index e89c308..190854c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,13 +5,12 @@ edition = "2021" [features] domain_resolver = ["lightning/std", "tokio/rt", "dnssec-prover/std"] -name_resolver = ["dnssec-prover/validation", "lightning/no-std", "hex-conservative/alloc"] +name_resolver = ["dnssec-prover/validation", "lightning/no-std"] [dependencies] lightning = { version = "0.0.123", default-features = false } dnssec-prover = { version = "0.6", default-features = false } tokio = { version = "1.0", default-features = false, optional = true } -hex-conservative = { version = "0.1", default-features = false, optional = true } [dev-dependencies] secp256k1 = { version = "0.27" } diff --git a/src/lib.rs b/src/lib.rs index 2fe6690..97afd6b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -205,8 +205,6 @@ mod name_resolver { use dnssec_prover::rr::RR; use dnssec_prover::validation::verify_rr_stream; - use hex_conservative::FromHex; - impl OMNameResolver { pub fn new(resolver: Destination, reply_path: BlindedPath, latest_block_time: u32, latest_block_height: u32) -> Self { Self {