[package]
name = "electrsd"
version = "0.25.0"
authors = ["Riccardo Casatta <riccardo@casatta.it>"]
description = "Utility to run a regtest electrs process, useful in integration testing environment"
repository = "https://github.com/RCasatta/electrsd"
documentation = "https://docs.rs/elecrtsd/"
license = "MIT"
edition = "2018"
categories = ["cryptography::cryptocurrencies", "development-tools::testing"]

[dependencies]
bitcoind = { version = "0.33.0" }
electrum-client = { version = "0.15.0", default-features = false }
nix = { version="0.25.0" }
log = "0.4"

[dev-dependencies]
env_logger = "0.10"

[build-dependencies]
bitcoin_hashes = "0.12"
zip = { version = "0.6", default-features = false, features = ["bzip2", "deflate"] }
minreq = { version = "2.9.0", default-features = false, features = ["https"] }

[features]
legacy = []

esplora_a33e97e1 = []
electrs_0_8_10 = []
electrs_0_9_1 = []
electrs_0_9_11 = []

bitcoind_25_0 = ["bitcoind/25_0"]
bitcoind_24_0_1 = ["bitcoind/24_0_1"]
bitcoind_23_1 = ["bitcoind/23_1"]
bitcoind_22_1 = ["bitcoind/22_1"]
bitcoind_0_21_2 = ["bitcoind/0_21_2"]
bitcoind_0_20_2 = ["bitcoind/0_20_2"]
bitcoind_0_19_1 = ["bitcoind/0_19_1"]
bitcoind_0_18_1 = ["bitcoind/0_18_1"]
bitcoind_0_17_1 = ["bitcoind/0_17_1"]
