[package] name = "bitcoin" version = "0.22.0" authors = ["Andrew Poelstra "] license = "CC0-1.0" homepage = "https://github.com/rust-bitcoin/rust-bitcoin/" repository = "https://github.com/rust-bitcoin/rust-bitcoin/" documentation = "https://docs.rs/bitcoin/" description = "General purpose library for using and interoperating with Bitcoin and other cryptocurrencies." keywords = [ "crypto", "bitcoin" ] readme = "README.md" [lib] name = "bitcoin" path = "src/lib.rs" [features] fuzztarget = ["secp256k1/fuzztarget", "bitcoin_hashes/fuzztarget"] unstable = [] rand = ["secp256k1/rand"] use-serde = ["hex", "serde", "bitcoin_hashes/serde", "secp256k1/serde"] [dependencies] bech32 = "0.7.1" bitcoin_hashes = "0.7.3" bitcoinconsensus = { version = "0.17", optional = true } serde = { version = "1", optional = true } hex = { version = "=0.3.2", optional = true } secp256k1 = "0.15" [dev-dependencies] hex = "=0.3.2" serde_derive = "<1.0.99" serde_json = "1" serde_test = "1" secp256k1 = { version = "0.15", features = ["rand"] }