2018-04-08 22:48:55 +02:00
|
|
|
[package]
|
2018-05-31 13:29:44 +02:00
|
|
|
name = "electrs"
|
2021-12-28 14:51:08 +01:00
|
|
|
version = "0.9.4"
|
2018-04-08 22:48:55 +02:00
|
|
|
authors = ["Roman Zeyde <me@romanzey.de>"]
|
2018-07-02 11:32:42 +02:00
|
|
|
description = "An efficient re-implementation of Electrum Server in Rust"
|
|
|
|
license = "MIT"
|
|
|
|
homepage = "https://github.com/romanz/electrs"
|
|
|
|
repository = "https://github.com/romanz/electrs"
|
|
|
|
keywords = ["bitcoin", "electrum", "server", "index", "database"]
|
|
|
|
documentation = "https://docs.rs/electrs/"
|
|
|
|
readme = "README.md"
|
2018-09-22 11:42:56 +02:00
|
|
|
edition = "2018"
|
2019-09-06 11:40:13 +02:00
|
|
|
build = "build.rs"
|
2018-04-08 22:48:55 +02:00
|
|
|
|
2021-03-26 09:05:58 +01:00
|
|
|
[features]
|
2021-05-27 19:44:51 +02:00
|
|
|
default = ["metrics"]
|
2021-08-27 19:40:54 +02:00
|
|
|
metrics = ["prometheus", "tiny_http"]
|
2021-10-05 12:12:18 +02:00
|
|
|
metrics_process = ["prometheus/process"]
|
2021-04-19 05:45:19 +02:00
|
|
|
ignore_default_config_files = []
|
2019-10-18 17:14:53 +02:00
|
|
|
|
2021-03-26 09:05:58 +01:00
|
|
|
[package.metadata.configure_me]
|
|
|
|
spec = "internal/config_specification.toml"
|
2019-05-30 09:15:12 +02:00
|
|
|
|
2018-04-08 22:48:55 +02:00
|
|
|
[dependencies]
|
2021-03-26 09:05:58 +01:00
|
|
|
anyhow = "1.0"
|
2021-09-20 16:39:48 +02:00
|
|
|
bitcoin = { version = "0.27.1", features = ["use-serde", "rand"] }
|
2021-09-23 17:29:59 +02:00
|
|
|
bitcoincore-rpc = "0.14.0"
|
2021-03-26 09:05:58 +01:00
|
|
|
configure_me = "0.4"
|
|
|
|
crossbeam-channel = "0.5"
|
|
|
|
dirs-next = "2.0"
|
2021-10-31 08:16:39 +01:00
|
|
|
env_logger = "0.9"
|
2021-10-10 20:25:35 +02:00
|
|
|
fs_extra = "1.2"
|
2018-04-08 22:48:55 +02:00
|
|
|
log = "0.4"
|
2021-06-14 12:19:37 +02:00
|
|
|
parking_lot = "0.11"
|
2021-10-04 09:08:38 +02:00
|
|
|
prometheus = { version = "0.13", optional = true }
|
2021-03-26 09:05:58 +01:00
|
|
|
rayon = "1.5"
|
2018-05-23 09:28:38 +02:00
|
|
|
serde = "1.0"
|
|
|
|
serde_derive = "1.0"
|
|
|
|
serde_json = "1.0"
|
2021-03-26 09:05:58 +01:00
|
|
|
signal-hook = "0.3"
|
2021-10-19 16:35:57 +02:00
|
|
|
tiny_http = { version = "0.9", optional = true }
|
2019-09-06 11:40:13 +02:00
|
|
|
|
2021-09-18 08:01:29 +02:00
|
|
|
[dependencies.electrs-rocksdb]
|
2021-10-31 08:02:46 +01:00
|
|
|
# Workaround the following issues:
|
|
|
|
# - https://github.com/romanz/electrs/issues/403 (support building on ARM 32-bit)
|
|
|
|
# - https://github.com/romanz/electrs/issues/469 (dynamic linking on Debian 11)
|
2021-10-25 08:22:36 +02:00
|
|
|
version = "0.15.0-e2"
|
2021-05-30 20:38:51 +02:00
|
|
|
default-features = false
|
2021-09-14 20:32:28 +02:00
|
|
|
# ZSTD is used for data compression
|
|
|
|
# Snappy is only for checking old DB
|
|
|
|
features = ["zstd", "snappy"]
|
2021-05-30 20:38:51 +02:00
|
|
|
|
2019-09-06 11:40:13 +02:00
|
|
|
[build-dependencies]
|
2021-05-30 20:38:51 +02:00
|
|
|
configure_me_codegen = "0.4"
|
2021-09-13 11:50:21 +02:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
tempfile = "3.2"
|