[package]
name = "blocks_iterator"
version = "0.9.0"
authors = ["Riccardo Casatta <riccardo@casatta.it>"]
edition = "2018"
description = "Iterates Bitcoin blocks"
repository = "https://github.com/RCasatta/blocks_iterator"
documentation = "https://docs.rs/blocks_iterator/"
keywords = ["bitcoin", "blocks", "iterate"]
readme = "Readme.md"
license = "MIT"
[dependencies]
bitcoin = "0.27"
structopt = "0.3.21"
log = "0.4.11"
glob = "0.3.0"
fxhash = "0.2.1"
env_logger = "0.9"
rand = { version = "0.8.4", optional = true }
rocksdb = { version = "0.17.0", optional = true, default-features = false, features = ["snappy"] }
blake3 = { version = "1.0.0", optional = true }
sha2 = { version = "0.9.8", optional = true, features = ["asm"] }
bitcoinconsensus = { version = "0.19.0-3", optional = true }
[dev-dependencies]
rayon = "1.5.0"
tempfile = "3.2.0"
[features]
verify = ["bitcoinconsensus", "bitcoin/bitcoinconsensus"]
db = ["rocksdb", "rand"]
unstable = ["sha2", "blake3"]
[[example]]
name = "heaviest_pipe"
[[example]]
name = "most_output_pipe"
[[example]]
name = "verify"
required-features = ["verify"]
[[example]]
name = "signatures_in_witness"
[[example]]
name = "outputs_versions"
[patch.crates-io]
bitcoinconsensus = { git ="https://github.com/RCasatta/rust-bitcoinconsensus", rev="12a909866d5346fc79e3c068f3c15bee1e3e7342" }