Enable no-std usage

This commit is contained in:
Steven Roose 2022-06-29 14:22:16 +01:00
parent 120331643b
commit a2f4f5e896
No known key found for this signature in database
GPG Key ID: 2F2A88D7F8D68E87
1 changed files with 2 additions and 1 deletions

View File

@ -40,7 +40,7 @@ all-languages = [
]
[dependencies]
bitcoin_hashes = "0.9.4"
bitcoin_hashes = { version = "0.9.4", default-features = false }
rand_core = "0.4.0"
unicode-normalization = { version = "=0.1.9", optional = true }
@ -49,4 +49,5 @@ serde = { version = "1.0", default-features = false, optional = true }
[dev-dependencies]
rand = { version = "0.6.0", optional = false }
bitcoin_hashes = "0.9.4" # enable default features for test