2022-09-16 01:52:57 +00:00
|
|
|
[package]
|
|
|
|
name = "bitcoin_hashes"
|
2023-07-14 04:45:33 +00:00
|
|
|
version = "0.13.0"
|
2022-09-16 01:52:57 +00:00
|
|
|
authors = ["Andrew Poelstra <apoelstra@wpsoftware.net>"]
|
|
|
|
license = "CC0-1.0"
|
2023-05-25 04:11:00 +00:00
|
|
|
repository = "https://github.com/rust-bitcoin/rust-bitcoin"
|
2022-09-16 01:52:57 +00:00
|
|
|
documentation = "https://docs.rs/bitcoin_hashes/"
|
2023-02-02 22:26:22 +00:00
|
|
|
description = "Hash functions used by the rust-bitcoin eccosystem"
|
|
|
|
categories = ["algorithms"]
|
2022-09-16 01:52:57 +00:00
|
|
|
keywords = [ "crypto", "bitcoin", "hash", "digest" ]
|
|
|
|
readme = "README.md"
|
|
|
|
edition = "2018"
|
2023-02-02 22:20:08 +00:00
|
|
|
exclude = ["tests", "contrib"]
|
2022-09-16 01:52:57 +00:00
|
|
|
|
|
|
|
[features]
|
|
|
|
default = ["std"]
|
2023-09-22 02:27:53 +00:00
|
|
|
std = ["alloc", "hex/std"]
|
|
|
|
alloc = ["hex/alloc"]
|
2022-09-16 01:52:57 +00:00
|
|
|
serde-std = ["serde/std"]
|
2023-07-21 00:38:34 +00:00
|
|
|
# If you want I/O you must enable either "std" or "core2".
|
|
|
|
core2 = ["actual-core2", "hex/core2"]
|
2023-08-11 19:31:20 +00:00
|
|
|
# Smaller (but slower) implementation of sha256, sha512 and ripemd160
|
|
|
|
small-hash = []
|
2022-09-16 01:52:57 +00:00
|
|
|
|
2023-02-02 22:24:48 +00:00
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
|
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
|
2022-09-16 01:52:57 +00:00
|
|
|
[dependencies]
|
2023-07-21 00:38:34 +00:00
|
|
|
hex = { package = "hex-conservative", version = "0.1.1", default-features = false }
|
2022-09-16 01:52:57 +00:00
|
|
|
|
2023-03-06 22:39:20 +00:00
|
|
|
schemars = { version = "0.8.3", optional = true }
|
2023-02-02 23:28:14 +00:00
|
|
|
# Only enable this if you explicitly do not want to use "std", otherwise enable "serde-std".
|
|
|
|
serde = { version = "1.0", default-features = false, optional = true }
|
2022-09-16 01:52:57 +00:00
|
|
|
|
2023-07-21 00:38:34 +00:00
|
|
|
# Do NOT use this feature! Use the "core2" feature instead.
|
|
|
|
actual-core2 = { package = "core2", version = "0.3.2", default-features = false, optional = true }
|
|
|
|
|
2022-09-16 01:52:57 +00:00
|
|
|
[dev-dependencies]
|
|
|
|
serde_test = "1.0"
|
|
|
|
serde_json = "1.0"
|
|
|
|
|
|
|
|
[target.wasm32-unknown-unknown.dev-dependencies]
|
|
|
|
wasm-bindgen-test = "0.3"
|