@@ -4,23 +4,23 @@ version = { workspace = true }
44authors = [
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]
99license = " CC0-1.0"
1010homepage = " https://github.com/dashevo/rust-dashcore/"
1111repository = " https://github.com/dashevo/rust-dashcore/"
1212documentation = " https://dashcore.readme.io/docs"
1313description = " General purpose library for using and interoperating with Dash Core payment chain."
1414categories = [" cryptography::cryptocurrencies" ]
15- keywords = [ " crypto" , " dash" ]
15+ keywords = [" crypto" , " dash" ]
1616readme = " ../README.md"
1717exclude = [" tests" , " contrib" ]
1818edition = " 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" ]
2424rand-std = [" secp256k1/rand" ]
2525rand = [" secp256k1/rand" ]
2626serde = [" actual-serde" , " dashcore_hashes/serde" , " secp256k1/serde" ]
@@ -32,52 +32,69 @@ bls = ["blsful"]
3232eddsa = [" ed25519-dalek" ]
3333quorum_validation = [" bls" , " bls-signatures" ]
3434message_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.
4242std = [" 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 ]
4651all-features = true
4752rustdoc-args = [" --cfg" , " docsrs" ]
4853
4954[dependencies ]
5055internals = { path = " ../internals" , package = " dashcore-private" }
51- bech32 = { version = " 0.9.1 " , default-features = false }
56+ bech32 = { version = " 0.11.0 " , default-features = false }
5257dashcore_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
5971base64-compat = { version = " 1.0.0" , optional = true }
6072bitcoinconsensus = { version = " 0.20.2-0.5.0" , default-features = false , optional = true }
6173hex_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 }
6577bitflags = " 2.9.0"
6678blsful = { version = " 3.0.0-pre8" , optional = true }
6779ed25519-dalek = { version = " 2.1" , features = [" rand_core" ], optional = true }
6880blake3 = " 1.8.1"
6981thiserror = " 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 ]
7486serde_json = " 1.0.140"
7587serde_test = " 1.0.177"
7688serde_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" }
7991assert_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 ]]
83100name = " bip32"
0 commit comments