38 lines
1.2 KiB
TOML
38 lines
1.2 KiB
TOML
[package]
|
|
name = "bitcoin_hashes"
|
|
version = "0.16.0"
|
|
authors = ["Andrew Poelstra <apoelstra@wpsoftware.net>"]
|
|
license = "CC0-1.0"
|
|
repository = "https://github.com/rust-bitcoin/rust-bitcoin"
|
|
documentation = "https://docs.rs/bitcoin_hashes/"
|
|
description = "Hash functions used by the rust-bitcoin eccosystem"
|
|
categories = ["algorithms", "cryptography", "no-std"]
|
|
keywords = [ "crypto", "bitcoin", "hash", "digest" ]
|
|
readme = "README.md"
|
|
edition = "2021"
|
|
rust-version = "1.63.0"
|
|
exclude = ["tests", "contrib"]
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = ["alloc", "hex?/std"]
|
|
alloc = ["hex?/alloc"]
|
|
serde = ["dep:serde", "hex"]
|
|
# Smaller (but slower) implementation of sha256, sha512 and ripemd160
|
|
small-hash = []
|
|
|
|
[dependencies]
|
|
internals = { package = "bitcoin-internals", path = "../internals" }
|
|
hex = { package = "hex-conservative", version = "0.3.0", default-features = false, optional = true }
|
|
serde = { version = "1.0.103", default-features = false, optional = true }
|
|
|
|
[dev-dependencies]
|
|
serde_test = "1.0"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
[lints.rust]
|
|
unexpected_cfgs = { level = "deny", check-cfg = ['cfg(bench)', 'cfg(hashes_fuzz)', 'cfg(rust_v_1_64)' ] }
|