Merge pull request #1230 from lightning-signer/2021-01-invoice-bech32-dep

Do not turn on bech32/std by default for lightning-invoice
This commit is contained in:
Matt Corallo 2022-01-10 18:34:40 +00:00 committed by GitHub
commit bb248617a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,10 +11,10 @@ readme = "README.md"
[features] [features]
default = ["std"] default = ["std"]
no-std = ["hashbrown", "lightning/no-std", "core2/alloc"] 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] [dependencies]
bech32 = "0.8" bech32 = { version = "0.8", default-features = false }
lightning = { version = "0.0.104", path = "../lightning", default-features = false } lightning = { version = "0.0.104", path = "../lightning", default-features = false }
secp256k1 = { version = "0.20", default-features = false, features = ["recovery", "alloc"] } secp256k1 = { version = "0.20", default-features = false, features = ["recovery", "alloc"] }
num-traits = { version = "0.2.8", default-features = false } num-traits = { version = "0.2.8", default-features = false }