Skip to content

Commit b6dd696

Browse files
committed
updating changes related to package name
1 parent fb36ec8 commit b6dd696

File tree

1 file changed

+22
-7
lines changed

1 file changed

+22
-7
lines changed

bitcoin/Cargo.toml

Lines changed: 22 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
[package]
2-
name = "chroma"
2+
name = "bitcoin"
33
version = "0.31.0"
44
authors = ["Andrew Poelstra <[email protected]>"]
55
license = "CC0-1.0"
66
repository = "https://github.com/rust-bitcoin/rust-bitcoin/"
77
documentation = "https://docs.rs/bitcoin/"
88
description = "General purpose library for using and interoperating with Bitcoin."
99
categories = ["cryptography::cryptocurrencies"]
10-
keywords = [ "crypto", "chroma" ]
10+
keywords = ["crypto", "chroma"]
1111
readme = "../README.md"
1212
edition = "2018"
1313
exclude = ["tests", "contrib"]
1414

1515
[features]
16-
default = [ "std", "secp-recovery" ]
16+
default = ["std", "secp-recovery"]
1717
rand-std = ["secp256k1/rand-std", "std"]
1818
rand = ["secp256k1/rand"]
1919
serde = ["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.
2929
std = ["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]
3341
all-features = true
@@ -38,17 +46,24 @@ internals = { package = "bitcoin-internals", version = "0.2.0" }
3846
hex = { package = "hex-conservative", version = "0.1.1", default-features = false }
3947
bech32 = { version = "0.10.0-beta", default-features = false }
4048
hashes = { 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+
] }
4252
hex_lit = "0.1.1"
4353

4454
base64 = { version = "0.21.3", optional = true }
4555
# Only use this feature for no-std builds, otherwise use bitcoinconsensus-std.
4656
bitcoinconsensus = { 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]
5469
serde_json = "1.0.0"

0 commit comments

Comments
 (0)