Merge pull request #1032 from jkczyz/2021-08-clippy
[rust-lightning] / lightning / Cargo.toml
index 7172ee07cb8e99204b83005310b6540ef649e442..9a2861d6927da1969955c7b01f06877e5c95dafa 100644 (file)
@@ -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]