Skip to content

Commit db7a887

Browse files
committed
build(deps): update bls-signatures, bech32, secp256k1
1 parent 51df58f commit db7a887

File tree

1 file changed

+35
-18
lines changed

1 file changed

+35
-18
lines changed

dash/Cargo.toml

Lines changed: 35 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,23 @@ version = { workspace = true }
44
authors = [
55
"Samuel Westrich <sam@dash.org>",
66
"Anton Suprunchuk <anton@dash.org>",
7-
"Dmitrii Golubev <dmitrii.golubev@dash.org>"
7+
"Dmitrii Golubev <dmitrii.golubev@dash.org>",
88
]
99
license = "CC0-1.0"
1010
homepage = "https://github.com/dashevo/rust-dashcore/"
1111
repository = "https://github.com/dashevo/rust-dashcore/"
1212
documentation = "https://dashcore.readme.io/docs"
1313
description = "General purpose library for using and interoperating with Dash Core payment chain."
1414
categories = ["cryptography::cryptocurrencies"]
15-
keywords = [ "crypto", "dash" ]
15+
keywords = ["crypto", "dash"]
1616
readme = "../README.md"
1717
exclude = ["tests", "contrib"]
1818
edition = "2024"
1919

2020
# Please don't forget to add relevant features to docs.rs below
2121
[features]
22-
default = [ "std", "secp-recovery", "bincode" ]
23-
base64 = [ "base64-compat" ]
22+
default = ["std", "secp-recovery", "bincode"]
23+
base64 = ["base64-compat"]
2424
rand-std = ["secp256k1/rand"]
2525
rand = ["secp256k1/rand"]
2626
serde = ["actual-serde", "dashcore_hashes/serde", "secp256k1/serde"]
@@ -32,52 +32,69 @@ bls = ["blsful"]
3232
eddsa = ["ed25519-dalek"]
3333
quorum_validation = ["bls", "bls-signatures"]
3434
message_verification = ["bls"]
35-
bincode = [ "dep:bincode", "dashcore_hashes/bincode" ]
35+
bincode = ["dep:bincode", "dashcore_hashes/bincode"]
3636

3737
# At least one of std, no-std must be enabled.
3838
#
3939
# The no-std feature doesn't disable std - you need to turn off the std feature for that by disabling default.
4040
# Instead no-std enables additional features required for this crate to be usable without std.
4141
# As a result, both can be enabled without conflict.
4242
std = ["secp256k1/std", "dashcore_hashes/std", "bech32/std", "internals/std"]
43-
no-std = ["core2", "dashcore_hashes/alloc", "dashcore_hashes/core2", "secp256k1/alloc"]
43+
no-std = [
44+
"core2",
45+
"dashcore_hashes/alloc",
46+
"dashcore_hashes/core2",
47+
"secp256k1/alloc",
48+
]
4449

4550
[package.metadata.docs.rs]
4651
all-features = true
4752
rustdoc-args = ["--cfg", "docsrs"]
4853

4954
[dependencies]
5055
internals = { path = "../internals", package = "dashcore-private" }
51-
bech32 = { version = "0.9.1", default-features = false }
56+
bech32 = { version = "0.11.0", default-features = false }
5257
dashcore_hashes = { path = "../hashes", default-features = false }
53-
secp256k1 = { default-features = false, features = ["hashes"], version= "0.30.0" }
54-
core2 = { version = "0.4.0", optional = true, features = ["alloc"], default-features = false }
55-
rustversion = { version="1.0.20"}
58+
secp256k1 = { default-features = false, features = [
59+
"hashes",
60+
], version = "0.31.1" }
61+
core2 = { version = "0.4.0", optional = true, features = [
62+
"alloc",
63+
], default-features = false }
64+
rustversion = { version = "1.0.20" }
5665
# Do NOT use this as a feature! Use the `serde` feature instead.
57-
actual-serde = { package = "serde", version = "1.0.219", default-features = false, features = [ "derive", "alloc" ], optional = true }
66+
actual-serde = { package = "serde", version = "1.0.219", default-features = false, features = [
67+
"derive",
68+
"alloc",
69+
], optional = true }
5870

5971
base64-compat = { version = "1.0.0", optional = true }
6072
bitcoinconsensus = { version = "0.20.2-0.5.0", default-features = false, optional = true }
6173
hex_lit = "0.1.1"
62-
anyhow = { version= "1.0" }
63-
hex = { version= "0.4" }
64-
bincode = { version= "=2.0.0-rc.3", optional = true }
74+
anyhow = { version = "1.0" }
75+
hex = { version = "0.4" }
76+
bincode = { version = "=2.0.0-rc.3", optional = true }
6577
bitflags = "2.9.0"
6678
blsful = { version = "3.0.0-pre8", optional = true }
6779
ed25519-dalek = { version = "2.1", features = ["rand_core"], optional = true }
6880
blake3 = "1.8.1"
6981
thiserror = "2"
7082
# version 1.3.5 is 0bb5c5b03249c463debb5cef5f7e52ee66f3aaab
71-
bls-signatures = { git = "https://github.com/dashpay/bls-signatures", rev = "0bb5c5b03249c463debb5cef5f7e52ee66f3aaab", optional = true }
83+
bls-signatures = { git = "https://github.com/dashpay/bls-signatures", rev = "419a1361d74157341a47d54d642f39789f2ca481", optional = true }
7284

7385
[dev-dependencies]
7486
serde_json = "1.0.140"
7587
serde_test = "1.0.177"
7688
serde_derive = "1.0.219"
77-
secp256k1 = { features = [ "recovery", "rand", "hashes" ], version="0.30.0" }
78-
bincode = { version= "=2.0.0-rc.3" }
89+
secp256k1 = { features = ["recovery", "rand", "hashes"], version = "0.31.1" }
90+
bincode = { version = "=2.0.0-rc.3" }
7991
assert_matches = "1.5.0"
80-
dashcore = { path = ".", features = ["core-block-hash-use-x11", "message_verification", "quorum_validation", "signer"] }
92+
dashcore = { path = ".", features = [
93+
"core-block-hash-use-x11",
94+
"message_verification",
95+
"quorum_validation",
96+
"signer",
97+
] }
8198

8299
[[example]]
83100
name = "bip32"

0 commit comments

Comments
 (0)