X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;ds=sidebyside;f=lightning-invoice%2FCargo.toml;h=1d2a4cdbfbe4ae2d0e3d106e541a3688b5c35ac5;hb=670b41ae4ec1b45fad97ed813a4296410839ecaf;hp=4376ac0dc70c943550600d8e748d5eb341473db8;hpb=e64342afab9c5aed1ed3592fcc2e2f3a38fac101;p=rust-lightning diff --git a/lightning-invoice/Cargo.toml b/lightning-invoice/Cargo.toml index 4376ac0d..1d2a4cdb 100644 --- a/lightning-invoice/Cargo.toml +++ b/lightning-invoice/Cargo.toml @@ -16,7 +16,7 @@ rustdoc-args = ["--cfg", "docsrs"] [features] default = ["std"] -no-std = ["hashbrown", "lightning/no-std"] +no-std = ["lightning/no-std"] std = ["bitcoin/std", "num-traits/std", "lightning/std", "bech32/std"] [dependencies] @@ -24,7 +24,6 @@ bech32 = { version = "0.9.0", default-features = false } lightning = { version = "0.0.121", path = "../lightning", default-features = false } secp256k1 = { version = "0.27.0", default-features = false, features = ["recovery", "alloc"] } num-traits = { version = "0.2.8", default-features = false } -hashbrown = { version = "0.13", optional = true } serde = { version = "1.0.118", optional = true } bitcoin = { version = "0.30.2", default-features = false } @@ -32,3 +31,4 @@ bitcoin = { version = "0.30.2", default-features = false } lightning = { version = "0.0.121", path = "../lightning", default-features = false, features = ["_test_utils"] } hex = { package = "hex-conservative", version = "0.1.1", default-features = false } serde_json = { version = "1"} +hashbrown = { version = "0.13", default-features = false }