[package]
name = "bitcoin"
version = "0.18.2"
authors = ["Andrew Poelstra <apoelstra@wpsoftware.net>"]
description = "General purpose library for using and interoperating with Bitcoin and other cryptocurrencies."
homepage = "https://github.com/rust-bitcoin/rust-bitcoin/"
documentation = "https://docs.rs/bitcoin/"
readme = "README.md"
keywords = ["crypto", "bitcoin"]
license = "CC0-1.0"
repository = "https://github.com/rust-bitcoin/rust-bitcoin/"
[lib]
name = "bitcoin"
path = "src/lib.rs"
[dependencies.bitcoin-bech32]
version = "0.9.0"
[dependencies.bitcoin_hashes]
version = "0.3"
[dependencies.bitcoinconsensus]
version = "0.16"
optional = true
[dependencies.byteorder]
version = "1.2"
[dependencies.hex]
version = "=0.3.2"
[dependencies.rand]
version = "0.3"
[dependencies.secp256k1]
version = "0.12"
features = ["rand"]
[dependencies.serde]
version = "1"
optional = true
[dependencies.serde_test]
version = "1"
optional = true
[dependencies.strason]
version = "0.4"
optional = true
default-features = false
[dev-dependencies.tempfile]
version = "3"
[features]
fuzztarget = ["secp256k1/fuzztarget", "bitcoin_hashes/fuzztarget"]
serde-decimal = ["use-serde", "strason"]
unstable = []
use-serde = ["serde", "serde_test", "bitcoin_hashes/serde"]