From 31e7db4e78b1ea76ed78b31372181aa5e22e95a2 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Wed, 10 Jul 2024 14:21:26 +0000 Subject: [PATCH] Drop unused `hex_conservative` dependency --- Cargo.toml | 3 +-- src/lib.rs | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) 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 { -- 2.39.5