@@ -23,7 +23,7 @@ default = [ "std", "secp-recovery", "bincode" ]
2323base64 = [ " base64-compat" ]
2424rand-std = [" secp256k1/rand" ]
2525rand = [" secp256k1/rand" ]
26- serde = [" actual-serde" , " dashcore_hashes/serde" , " secp256k1/serde" ]
26+ serde = [" actual-serde" , " dashcore_hashes/serde" , " secp256k1/serde" , " key-wallet/serde " ]
2727secp-lowmemory = [" secp256k1/lowmemory" ]
2828secp-recovery = [" secp256k1/recovery" ]
2929signer = [" secp-recovery" , " rand" , " base64" ]
@@ -39,7 +39,7 @@ bincode = [ "dep:bincode", "dep:bincode_derive", "dashcore_hashes/bincode" ]
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.
42- std = [" secp256k1/std" , " dashcore_hashes/std" , " bech32/std" , " internals/std" ]
42+ std = [" secp256k1/std" , " dashcore_hashes/std" , " bech32/std" , " internals/std" , " key-wallet/std " ]
4343no-std = [" core2" , " dashcore_hashes/alloc" , " dashcore_hashes/core2" , " secp256k1/alloc" ]
4444
4545[package .metadata .docs .rs ]
@@ -51,6 +51,7 @@ internals = { path = "../internals", package = "dashcore-private" }
5151bech32 = { version = " 0.9.1" , default-features = false }
5252dashcore_hashes = { path = " ../hashes" , default-features = false }
5353secp256k1 = { default-features = false , features = [" hashes" ], version = " 0.30.0" }
54+ key-wallet = { path = " ../key-wallet" , default-features = false , features = [" std" ] }
5455core2 = { version = " 0.4.0" , optional = true , features = [" alloc" ], default-features = false }
5556rustversion = { version =" 1.0.20" }
5657# Do NOT use this as a feature! Use the `serde` feature instead.
@@ -80,9 +81,6 @@ bincode = { version= "=2.0.0-rc.3" }
8081assert_matches = " 1.5.0"
8182dashcore = { path = " ." , features = [" core-block-hash-use-x11" , " message_verification" , " quorum_validation" , " signer" ] }
8283
83- [[example ]]
84- name = " bip32"
85-
8684[[example ]]
8785name = " handshake"
8886required-features = [" std" ]
0 commit comments