[[example]]
name = "bip32"
[[example]]
name = "handshake"
required-features = ["std"]
[[example]]
name = "ecdsa-psbt"
required-features = ["std", "bitcoinconsensus"]
[dependencies.actual-serde]
default-features = false
features = ["derive", "alloc"]
optional = true
package = "serde"
version = "1"
[dependencies.base64]
optional = true
version = "0.13.0"
[dependencies.bech32]
default-features = false
version = "0.9.0"
[dependencies.bitcoin_hashes]
default-features = false
version = "0.11.0"
[dependencies.bitcoinconsensus]
optional = true
version = "0.20.2-0.5.0"
[dependencies.core2]
default-features = false
optional = true
version = "0.3.0"
[dependencies.hashbrown]
optional = true
version = "0.8"
[dependencies.secp256k1]
default-features = false
features = ["bitcoin_hashes"]
version = "0.24.0"
[dev-dependencies.bincode]
version = "1.3.1"
[dev-dependencies.secp256k1]
features = ["recovery", "rand-std"]
version = "0.24.0"
[dev-dependencies.serde_json]
version = "<1.0.45"
[dev-dependencies.serde_test]
version = "1"
[features]
default = ["std", "secp-recovery"]
no-std = ["hashbrown", "core2/alloc", "bitcoin_hashes/alloc", "secp256k1/alloc"]
rand = ["secp256k1/rand-std"]
secp-lowmemory = ["secp256k1/lowmemory"]
secp-recovery = ["secp256k1/recovery"]
serde = ["actual-serde", "bitcoin_hashes/serde", "secp256k1/serde"]
std = ["secp256k1/std", "bitcoin_hashes/std", "bech32/std"]
[package]
authors = ["Andrew Poelstra <apoelstra@wpsoftware.net>"]
description = "General purpose library for using and interoperating with Bitcoin and other cryptocurrencies."
documentation = "https://docs.rs/bitcoin/"
edition = "2018"
exclude = ["test_data/"]
homepage = "https://github.com/rust-bitcoin/rust-bitcoin/"
keywords = ["crypto", "bitcoin"]
license = "CC0-1.0"
name = "bitcoin"
readme = "README.md"
repository = "https://github.com/rust-bitcoin/rust-bitcoin/"
version = "0.29.2"
[package.metadata.docs.rs]
features = ["std", "secp-recovery", "base64", "rand", "serde", "bitcoinconsensus"]
rustdoc-args = ["--cfg", "docsrs"]