X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning%2FCargo.toml;h=9a2861d6927da1969955c7b01f06877e5c95dafa;hb=cab2ca8eeb6e8e4e75ad9227f440900ba9a787cb;hp=7172ee07cb8e99204b83005310b6540ef649e442;hpb=afae12ea1e610634f90335443e3fe9f126bf5551;p=rust-lightning diff --git a/lightning/Cargo.toml b/lightning/Cargo.toml index 7172ee07..9a2861d6 100644 --- a/lightning/Cargo.toml +++ b/lightning/Cargo.toml @@ -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]