@@ -22,7 +22,7 @@ default = ["std"]
22
22
std = [" alloc" , " secp256k1-sys/std" ]
23
23
# allow use of Secp256k1::new and related API that requires an allocator
24
24
alloc = [" secp256k1-sys/alloc" ]
25
- hashes -std = [" std" , " hashes /std" ]
25
+ chf -std = [" std" , " chf /std" ]
26
26
rand-std = [" std" , " rand" , " rand/std" , " rand/std_rng" ]
27
27
recovery = [" secp256k1-sys/recovery" ]
28
28
lowmemory = [" secp256k1-sys/lowmemory" ]
@@ -40,8 +40,8 @@ secp256k1-sys = { version = "0.10.0", default-features = false, path = "./secp25
40
40
serde = { version = " 1.0.103" , default-features = false , optional = true }
41
41
42
42
# You likely only want to enable these if you explicitly do not want to use "std", otherwise enable
43
- # the respective -std feature e.g., hashes -std
44
- hashes = { package = " bitcoin_hashes " , version = " >= 0.12, <= 0.14 " , default-features = false , optional = true }
43
+ # the respective -std feature e.g., chf -std
44
+ chf = { package = " chf " , version = " 0.1.0 " , default-features = false , optional = true }
45
45
rand = { version = " 0.8" , default-features = false , optional = true }
46
46
47
47
[dev-dependencies ]
@@ -57,11 +57,11 @@ getrandom = { version = "0.2", features = ["js"] }
57
57
58
58
[[example ]]
59
59
name = " sign_verify_recovery"
60
- required-features = [" recovery" , " hashes -std" ]
60
+ required-features = [" recovery" , " chf -std" ]
61
61
62
62
[[example ]]
63
63
name = " sign_verify"
64
- required-features = [" hashes -std" ]
64
+ required-features = [" chf -std" ]
65
65
66
66
[[example ]]
67
67
name = " generate_keys"
0 commit comments