11[package ]
2- name = " chroma "
2+ name = " bitcoin "
33version = " 0.31.0"
44authors = [
" Andrew Poelstra <[email protected] >" ]
55license = " CC0-1.0"
66repository = " https://github.com/rust-bitcoin/rust-bitcoin/"
77documentation = " https://docs.rs/bitcoin/"
88description = " General purpose library for using and interoperating with Bitcoin."
99categories = [" cryptography::cryptocurrencies" ]
10- keywords = [ " crypto" , " chroma" ]
10+ keywords = [" crypto" , " chroma" ]
1111readme = " ../README.md"
1212edition = " 2018"
1313exclude = [" tests" , " contrib" ]
1414
1515[features ]
16- default = [ " std" , " secp-recovery" ]
16+ default = [" std" , " secp-recovery" ]
1717rand-std = [" secp256k1/rand-std" , " std" ]
1818rand = [" secp256k1/rand" ]
1919serde = [" actual-serde" , " hashes/serde" , " secp256k1/serde" , " internals/serde" ]
@@ -27,7 +27,15 @@ bitcoinconsensus-std = ["bitcoinconsensus/std", "std"]
2727# Instead no-std enables additional features required for this crate to be usable without std.
2828# As a result, both can be enabled without conflict.
2929std = [" secp256k1/std" , " hashes/std" , " bech32/std" , " internals/std" , " hex/std" ]
30- no-std = [" core2" , " hashes/alloc" , " hashes/core2" , " bech32/alloc" , " secp256k1/alloc" , " hex/alloc" , " hex/core2" ]
30+ no-std = [
31+ " core2" ,
32+ " hashes/alloc" ,
33+ " hashes/core2" ,
34+ " bech32/alloc" ,
35+ " secp256k1/alloc" ,
36+ " hex/alloc" ,
37+ " hex/core2" ,
38+ ]
3139
3240[package .metadata .docs .rs ]
3341all-features = true
@@ -38,17 +46,24 @@ internals = { package = "bitcoin-internals", version = "0.2.0" }
3846hex = { package = " hex-conservative" , version = " 0.1.1" , default-features = false }
3947bech32 = { version = " 0.10.0-beta" , default-features = false }
4048hashes = { package = " bitcoin_hashes" , version = " 0.13.0" , default-features = false }
41- secp256k1 = { version = " 0.28.0" , default-features = false , features = [" hashes" ] }
49+ secp256k1 = { version = " 0.28.0" , default-features = false , features = [
50+ " hashes" ,
51+ ] }
4252hex_lit = " 0.1.1"
4353
4454base64 = { version = " 0.21.3" , optional = true }
4555# Only use this feature for no-std builds, otherwise use bitcoinconsensus-std.
4656bitcoinconsensus = { version = " 0.20.2-0.5.0" , default-features = false , optional = true }
4757
4858# There is no reason to use this dependency directly, it is activated by the "no-std" feature.
49- core2 = { version = " 0.3.2" , default-features = false , features = [" alloc" ], optional = true }
59+ core2 = { version = " 0.3.2" , default-features = false , features = [
60+ " alloc" ,
61+ ], optional = true }
5062# Do NOT use this as a feature! Use the `serde` feature instead.
51- actual-serde = { package = " serde" , version = " 1.0.103" , default-features = false , features = [ " derive" , " alloc" ], optional = true }
63+ actual-serde = { package = " serde" , version = " 1.0.103" , default-features = false , features = [
64+ " derive" ,
65+ " alloc" ,
66+ ], optional = true }
5267
5368[dev-dependencies ]
5469serde_json = " 1.0.0"
0 commit comments