[dependencies.actual-serde]
default-features = false
features = ["derive", "alloc"]
optional = true
package = "serde"
version = "1.0.103"
[dependencies.base58]
default-features = false
package = "base58ck"
version = "0.1.0"
[dependencies.base64]
optional = true
version = "0.21.3"
[dependencies.bech32]
default-features = false
features = ["alloc"]
version = "0.11.0"
[dependencies.bitcoinconsensus]
default-features = false
optional = true
version = "0.105.0+25.1"
[dependencies.hashes]
default-features = false
features = ["alloc", "io"]
package = "bitcoin_hashes"
version = "0.14.0"
[dependencies.hex]
default-features = false
features = ["alloc"]
package = "hex-conservative"
version = "0.2.0"
[dependencies.hex_lit]
version = "0.1.1"
[dependencies.internals]
features = ["alloc"]
package = "bitcoin-internals"
version = "0.3.0"
[dependencies.io]
default-features = false
features = ["alloc"]
package = "bitcoin-io"
version = "0.1.1"
[dependencies.ordered]
optional = true
version = "0.2.0"
[dependencies.secp256k1]
default-features = false
features = ["hashes", "alloc"]
version = "0.29.0"
[dependencies.units]
default-features = false
features = ["alloc"]
package = "bitcoin-units"
version = "0.1.0"
[dev-dependencies.bincode]
version = "1.3.1"
[dev-dependencies.serde_json]
version = "1.0.0"
[dev-dependencies.serde_test]
version = "1.0.19"
[[example]]
name = "bip32"
[[example]]
name = "handshake"
required-features = ["std", "rand-std"]
[[example]]
name = "ecdsa-psbt"
required-features = ["std", "bitcoinconsensus"]
[[example]]
name = "sign-tx-segwit-v0"
required-features = ["std", "rand-std"]
[[example]]
name = "sign-tx-taproot"
required-features = ["std", "rand-std"]
[[example]]
name = "taproot-psbt"
required-features = ["std", "rand-std", "bitcoinconsensus"]
[[example]]
name = "sighash"
[features]
bitcoinconsensus-std = ["bitcoinconsensus/std", "std"]
default = ["std", "secp-recovery"]
rand = ["secp256k1/rand"]
rand-std = ["secp256k1/rand-std", "std"]
secp-lowmemory = ["secp256k1/lowmemory"]
secp-recovery = ["secp256k1/recovery"]
serde = ["actual-serde", "hashes/serde", "secp256k1/serde", "internals/serde", "units/serde"]
std = ["base58/std", "bech32/std", "hashes/std", "hex/std", "internals/std", "io/std", "secp256k1/std", "units/std"]
[lints.rust.unexpected_cfgs]
level = "deny"
priority = 0
[package]
authors = ["Andrew Poelstra <apoelstra@wpsoftware.net>"]
categories = ["cryptography::cryptocurrencies"]
description = "General purpose library for using and interoperating with Bitcoin."
documentation = "https://docs.rs/bitcoin/"
edition = "2021"
exclude = ["tests", "contrib"]
keywords = ["crypto", "bitcoin"]
license = "CC0-1.0"
name = "bitcoin"
readme = "README.md"
repository = "https://github.com/rust-bitcoin/rust-bitcoin/"
rust-version = "1.56.1"
version = "0.32.4"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[target."cfg(mutate)".dev-dependencies]