]> git.bitcoin.ninja Git - lightning-resolver/commitdiff
Drop unused `hex_conservative` dependency master
authorMatt Corallo <git@bluematt.me>
Wed, 10 Jul 2024 14:21:26 +0000 (14:21 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 10 Jul 2024 14:21:26 +0000 (14:21 +0000)
Cargo.toml
src/lib.rs

index e89c30868fadbc67ec9de5e4d72b5a94042d1176..190854c5f540cf05a41ed6b0d7e5ec5d23aff1c2 100644 (file)
@@ -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" }
index 2fe669041727b0bd2e7a86fb3edad1f346a6d321..97afd6b022d2efaaa6fab10a14b8716808ad0d58 100644 (file)
@@ -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 {