From 8ed74c4f0d8e6a1061db42526416f617a4985ec3 Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Tue, 20 Jun 2023 05:24:30 +1000 Subject: [PATCH] Add comment to bitcoinconsensus dependency Add a comment to point users towards the `bitcoinconsensus-std` feature for std builds. --- bitcoin/Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/bitcoin/Cargo.toml b/bitcoin/Cargo.toml index f0800bab..1989d632 100644 --- a/bitcoin/Cargo.toml +++ b/bitcoin/Cargo.toml @@ -41,6 +41,7 @@ secp256k1 = { version = "0.27.0", default-features = false, features = ["bitcoin hex_lit = "0.1.1" base64 = { version = "0.13.0", optional = true } +# Only use this feature for no-std builds, otherwise use bitcoinconsensus-std. bitcoinconsensus = { version = "0.20.2-0.5.0", default-features = false, optional = true } core2 = { version = "0.3.2", default-features = false, features = ["alloc"], optional = true } # Do NOT use this as a feature! Use the `serde` feature instead.