# 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 = "bitcoincash" version = "0.29.2" authors = [ "Bitcoin Cash developers", "Andrew Poelstra ", ] exclude = ["test_data/"] description = "General purpose library for using and interoperating with Bitcoin Cash and other cryptocurrencies." homepage = "https://gitlab.com/rust-bitcoincash/rust-bitcoincash/" documentation = "https://docs.rs/bitcoincash/" readme = "README.md" keywords = [ "bitcoincash", "crypto", "bitcoin", ] license = "CC0-1.0" repository = "https://gitlab.com/rust-bitcoincash/rust-bitcoincash/" [package.metadata.docs.rs] features = [ "std", "secp-recovery", "base64", "rand", "serde", "bitcoinconsensus", ] rustdoc-args = [ "--cfg", "docsrs", ] [[example]] name = "bip32" [[example]] name = "handshake" required-features = ["std"] [[example]] name = "ecdsa-psbt" required-features = [ "std", "bitcoinconsensus", ] [dependencies.actual-serde] version = "1" 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_hashes] version = "0.11.0" default-features = false [dependencies.bitcoinconsensus] version = "0.20.2-0.5.0" optional = true [dependencies.core2] version = "0.3.0" optional = true default-features = false [dependencies.hashbrown] version = "0.8" optional = true [dependencies.secp256k1] version = "0.24.0" features = ["bitcoin_hashes"] default-features = false [dev-dependencies.bincode] version = "1.3.1" [dev-dependencies.secp256k1] version = "0.24.0" features = [ "recovery", "rand-std", ] [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", ]