Fix 1.54- builds with the `backtrace` feature due to MSRV breakage
[rust-lightning] / lightning-invoice / Cargo.toml
index 85cf1b3fea14a478cad116c5893c02f4483d4aec..25219800cc5e2fa0ea523698e494e2d62ea9dc72 100644 (file)
@@ -1,13 +1,14 @@
 [package]
 name = "lightning-invoice"
 description = "Data structures to parse and serialize BOLT11 lightning invoices"
-version = "0.16.0"
+version = "0.24.0-alpha1"
 authors = ["Sebastian Geisler <sgeisler@wh2.tu-dresden.de>"]
 documentation = "https://docs.rs/lightning-invoice/"
 license = "MIT OR Apache-2.0"
 keywords = [ "lightning", "bitcoin", "invoice", "BOLT11" ]
 readme = "README.md"
 repository = "https://github.com/lightningdevkit/rust-lightning/"
+edition = "2018"
 
 [package.metadata.docs.rs]
 all-features = true
@@ -15,18 +16,20 @@ rustdoc-args = ["--cfg", "docsrs"]
 
 [features]
 default = ["std"]
-no-std = ["hashbrown", "lightning/no-std", "core2/alloc"]
+no-std = ["hashbrown", "lightning/no-std"]
 std = ["bitcoin_hashes/std", "num-traits/std", "lightning/std", "bech32/std"]
 
 [dependencies]
-bech32 = { version = "0.8", default-features = false }
-lightning = { version = "0.0.108", path = "../lightning", default-features = false }
-secp256k1 = { version = "0.22", default-features = false, features = ["recovery", "alloc"] }
+bech32 = { version = "0.9.0", default-features = false }
+lightning = { version = "0.0.116-alpha1", path = "../lightning", default-features = false }
+secp256k1 = { version = "0.24.0", default-features = false, features = ["recovery", "alloc"] }
 num-traits = { version = "0.2.8", default-features = false }
-bitcoin_hashes = { version = "0.10", default-features = false }
-hashbrown = { version = "0.11", optional = true }
-core2 = { version = "0.3.0", default-features = false, optional = true }
+bitcoin_hashes = { version = "0.11", default-features = false }
+hashbrown = { version = "0.8", optional = true }
+serde = { version = "1.0.118", optional = true }
+bitcoin = { version = "0.29.0", default-features = false }
 
 [dev-dependencies]
-lightning = { version = "0.0.108", path = "../lightning", default-features = false, features = ["_test_utils"] }
+lightning = { version = "0.0.116-alpha1", path = "../lightning", default-features = false, features = ["_test_utils"] }
 hex = "0.4"
+serde_json = { version = "1"}