From 1a779ce6583e53ea4fd62e0bc8a9897b477c7e60 Mon Sep 17 00:00:00 2001 From: Devrandom Date: Sun, 9 Jan 2022 12:26:14 +0100 Subject: [PATCH] Do not turn on bech32/std by default for lightning-invoice --- lightning-invoice/Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lightning-invoice/Cargo.toml b/lightning-invoice/Cargo.toml index 129d0f23c..c4b905e86 100644 --- a/lightning-invoice/Cargo.toml +++ b/lightning-invoice/Cargo.toml @@ -11,10 +11,10 @@ readme = "README.md" [features] default = ["std"] no-std = ["hashbrown", "lightning/no-std", "core2/alloc"] -std = ["bitcoin_hashes/std", "num-traits/std", "lightning/std"] +std = ["bitcoin_hashes/std", "num-traits/std", "lightning/std", "bech32/std"] [dependencies] -bech32 = "0.8" +bech32 = { version = "0.8", default-features = false } lightning = { version = "0.0.104", path = "../lightning", default-features = false } secp256k1 = { version = "0.20", default-features = false, features = ["recovery", "alloc"] } num-traits = { version = "0.2.8", default-features = false } -- 2.39.5