From: Devrandom Date: Sun, 9 Jan 2022 11:26:14 +0000 (+0100) Subject: Do not turn on bech32/std by default for lightning-invoice X-Git-Tag: v0.0.105~42^2 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=1a779ce6583e53ea4fd62e0bc8a9897b477c7e60;p=rust-lightning Do not turn on bech32/std by default for lightning-invoice --- 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 }