2022-09-16 01:52:57 +00:00
|
|
|
[package]
|
|
|
|
name = "bitcoin_hashes"
|
2023-03-05 13:36:32 +00:00
|
|
|
version = "0.12.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-01-21 03:43:48 +00:00
|
|
|
std = ["alloc", "internals/std"]
|
2023-02-02 23:03:37 +00:00
|
|
|
alloc = ["internals/alloc"]
|
2022-09-16 01:52:57 +00:00
|
|
|
serde-std = ["serde/std"]
|
|
|
|
|
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-06-27 22:57:25 +00:00
|
|
|
internals = { package = "bitcoin-internals", version = "0.2.0" }
|
2022-09-16 01:52:57 +00:00
|
|
|
|
2023-02-02 23:28:14 +00:00
|
|
|
core2 = { version = "0.3.0", default_features = false, optional = true }
|
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
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
serde_test = "1.0"
|
|
|
|
serde_json = "1.0"
|
|
|
|
|
|
|
|
[target.wasm32-unknown-unknown.dev-dependencies]
|
|
|
|
wasm-bindgen-test = "0.3"
|