# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2018" name = "bitcoint4" version = "0.30.4" authors = ["Andrew Poelstra "] exclude = [ "tests", "contrib", ] description = "General purpose library for using and interoperating with Bitcoin." documentation = "https://docs.rs/bitcoin/" readme = "README.md" keywords = [ "crypto", "bitcoin", ] categories = ["cryptography::cryptocurrencies"] license = "CC0-1.0" repository = "https://github.com/rust-bitcoin/rust-bitcoin/" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [[example]] name = "bip32" [[example]] name = "handshake" required-features = [ "std", "rand-std", ] [[example]] name = "ecdsa-psbt" required-features = [ "std", "bitcoinconsensus", ] [[example]] name = "taproot-psbt" required-features = [ "std", "rand-std", "bitcoinconsensus", ] [dependencies.actual-serde] version = "1.0.103" features = [ "derive", "alloc", ] optional = true default-features = false package = "serde" [dependencies.base64] version = "0.13.0" optional = true [dependencies.bech32] version = "0.9.0" default-features = false [dependencies.bitcoin-internals] version = "0.1.2" package = "bitcoint4-private" [dependencies.bitcoin_hashes] version = "0.12.0" default-features = false [dependencies.bitcoinconsensus] version = "0.20.2-0.5.0" optional = true default-features = false [dependencies.core2] version = "0.3.0" features = ["alloc"] optional = true default-features = false [dependencies.hex_lit] version = "0.1.1" [dependencies.secp256k1] version = "0.27.0" features = ["bitcoin_hashes"] default-features = false [dev-dependencies.bincode] version = "1.3.1" [dev-dependencies.serde_derive] version = "1.0.103" [dev-dependencies.serde_json] version = "1.0.0" [dev-dependencies.serde_test] version = "1.0.19" [features] bitcoinconsensus-std = [ "bitcoinconsensus/std", "std", ] default = [ "std", "secp-recovery", ] no-std = [ "core2", "bitcoin_hashes/alloc", "bitcoin_hashes/core2", "secp256k1/alloc", ] rand = ["secp256k1/rand"] rand-std = ["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", "bitcoin-internals/std", ] [target."cfg(mutate)".dev-dependencies]