Skip to content

Commit bb24861

Browse files
authored
Merge pull request #1230 from lightning-signer/2021-01-invoice-bech32-dep
Do not turn on bech32/std by default for lightning-invoice
2 parents b62b244 + 1a779ce commit bb24861

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning-invoice/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ readme = "README.md"
1111
[features]
1212
default = ["std"]
1313
no-std = ["hashbrown", "lightning/no-std", "core2/alloc"]
14-
std = ["bitcoin_hashes/std", "num-traits/std", "lightning/std"]
14+
std = ["bitcoin_hashes/std", "num-traits/std", "lightning/std", "bech32/std"]
1515

1616
[dependencies]
17-
bech32 = "0.8"
17+
bech32 = { version = "0.8", default-features = false }
1818
lightning = { version = "0.0.104", path = "../lightning", default-features = false }
1919
secp256k1 = { version = "0.20", default-features = false, features = ["recovery", "alloc"] }
2020
num-traits = { version = "0.2.8", default-features = false }

0 commit comments

Comments
 (0)