Add a `#[macro_use]` on the `alloc` import for `format!()`
[rust-lightning] / lightning / Cargo.toml
index 71d85872398037881d5cc46c3f0ea8316b7c247c..9a2861d6927da1969955c7b01f06877e5c95dafa 100644 (file)
@@ -1,6 +1,6 @@
 [package]
 name = "lightning"
-version = "0.0.98"
+version = "0.0.99"
 authors = ["Matt Corallo"]
 license = "MIT OR Apache-2.0"
 repository = "https://github.com/rust-bitcoin/rust-lightning/"
@@ -25,10 +25,14 @@ max_level_debug = []
 # This is unsafe to use in production because it may result in the counterparty publishing taking our funds.
 unsafe_revoked_tx_signing = []
 unstable = []
-no_std = ["hashbrown"]
+
+no_std = ["hashbrown", "bitcoin/no-std"]
+std = ["bitcoin/std"]
+
+default = ["std"]
 
 [dependencies]
-bitcoin = "0.26"
+bitcoin = "0.27"
 
 hashbrown = { version = "0.11", optional = true }
 hex = { version = "0.3", optional = true }
@@ -39,7 +43,7 @@ hex = "0.3"
 regex = "0.1.80"
 
 [dev-dependencies.bitcoin]
-version = "0.26"
+version = "0.27"
 features = ["bitcoinconsensus"]
 
 [package.metadata.docs.rs]