Add usage docs to the "core2" feature

We do not expect users of `rust-bitcoin` to ever activate the "core2"
dependency directly, add a comment explaining that.
This commit is contained in:
Tobin C. Harding 2023-07-21 10:44:16 +10:00
parent 894c926f56
commit db50509cd3
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607
1 changed files with 2 additions and 0 deletions

View File

@ -42,6 +42,8 @@ hex_lit = "0.1.1"
base64 = { version = "0.13.0", optional = true }
bitcoinconsensus = { version = "0.20.2-0.5.0", default-features = false, optional = true }
# There is no reason to use this dependency directly, it is activated by the "no-std" feature.
core2 = { version = "0.3.2", default-features = false, features = ["alloc"], optional = true }
# Do NOT use this as a feature! Use the `serde` feature instead.
actual-serde = { package = "serde", version = "1.0.103", default-features = false, features = [ "derive", "alloc" ], optional = true }