]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Do not turn on bech32/std by default for lightning-invoice
authorDevrandom <c1.devrandom@niftybox.net>
Sun, 9 Jan 2022 11:26:14 +0000 (12:26 +0100)
committerDevrandom <c1.devrandom@niftybox.net>
Sun, 9 Jan 2022 11:26:14 +0000 (12:26 +0100)
lightning-invoice/Cargo.toml

index 129d0f23c3a733b1349b7986971f6ce9e70a163a..c4b905e863b86c888e92e289b5c9d7150c6827d2 100644 (file)
@@ -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 }