X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning-invoice%2FCargo.toml;h=1692988ba0b0c71913b7307d47f69d6a595d9d2f;hb=c39c398f0618835201fb741b1976952c3f9180fa;hp=e0d3560c10b0b10d91b11415726726c867b2d76d;hpb=7c9463668a4f71663746e57bdb09ee6b91797d5a;p=rust-lightning diff --git a/lightning-invoice/Cargo.toml b/lightning-invoice/Cargo.toml index e0d3560c..1692988b 100644 --- a/lightning-invoice/Cargo.toml +++ b/lightning-invoice/Cargo.toml @@ -16,15 +16,13 @@ rustdoc-args = ["--cfg", "docsrs"] [features] default = ["std"] -no-std = ["hashbrown", "lightning/no-std"] -std = ["bitcoin/std", "num-traits/std", "lightning/std", "bech32/std"] +no-std = ["lightning/no-std"] +std = ["bitcoin/std", "lightning/std", "bech32/std"] [dependencies] 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.8", optional = true } serde = { version = "1.0.118", optional = true } bitcoin = { version = "0.30.2", default-features = false } @@ -32,3 +30,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 }