2018-04-08 23:48:55 +03:00
|
|
|
[package]
|
2018-05-31 14:29:44 +03:00
|
|
|
name = "electrs"
|
2023-10-31 20:35:31 +02:00
|
|
|
version = "0.10.1"
|
2018-04-08 23:48:55 +03:00
|
|
|
authors = ["Roman Zeyde <me@romanzey.de>"]
|
2018-07-02 12:32:42 +03: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"
|
2022-11-06 19:23:39 +02:00
|
|
|
edition = "2021"
|
2019-09-06 11:40:13 +02:00
|
|
|
build = "build.rs"
|
2018-04-08 23:48:55 +03:00
|
|
|
|
2021-03-26 11:05:58 +03:00
|
|
|
[features]
|
2021-05-27 20:44:51 +03:00
|
|
|
default = ["metrics"]
|
2021-08-27 20:40:54 +03:00
|
|
|
metrics = ["prometheus", "tiny_http"]
|
2021-10-05 13:12:18 +03:00
|
|
|
metrics_process = ["prometheus/process"]
|
2019-10-18 17:14:53 +02:00
|
|
|
|
2021-03-26 11:05:58 +03:00
|
|
|
[package.metadata.configure_me]
|
|
|
|
spec = "internal/config_specification.toml"
|
2019-05-30 10:15:12 +03:00
|
|
|
|
2018-04-08 23:48:55 +03:00
|
|
|
[dependencies]
|
2021-03-26 11:05:58 +03:00
|
|
|
anyhow = "1.0"
|
2023-10-16 18:11:05 +11:00
|
|
|
bitcoin = { version = "0.31.0", features = ["serde", "rand-std"] }
|
|
|
|
bitcoin_slices = { version = "0.7", features = ["bitcoin", "sha2"] }
|
|
|
|
bitcoincore-rpc = { version = "0.18" }
|
2021-03-26 11:05:58 +03:00
|
|
|
configure_me = "0.4"
|
|
|
|
crossbeam-channel = "0.5"
|
|
|
|
dirs-next = "2.0"
|
2022-11-06 19:23:39 +02:00
|
|
|
env_logger = "0.10"
|
2018-04-08 23:48:55 +03:00
|
|
|
log = "0.4"
|
2022-11-06 19:23:39 +02:00
|
|
|
parking_lot = "0.12"
|
2021-10-04 10:08:38 +03:00
|
|
|
prometheus = { version = "0.13", optional = true }
|
2023-10-07 14:56:53 +03:00
|
|
|
rayon = "1.8"
|
2018-05-23 10:28:38 +03:00
|
|
|
serde = "1.0"
|
2023-08-19 10:13:44 +03:00
|
|
|
serde_derive = "1.0, <=1.0.171" # avoid precompiled binaries (https://github.com/serde-rs/serde/issues/2538)
|
2018-05-23 10:28:38 +03:00
|
|
|
serde_json = "1.0"
|
2021-03-26 11:05:58 +03:00
|
|
|
signal-hook = "0.3"
|
2022-10-10 13:47:09 +00:00
|
|
|
tiny_http = { version = "0.12", optional = true }
|
2019-09-06 11:40:13 +02:00
|
|
|
|
2021-09-18 09:01:29 +03:00
|
|
|
[dependencies.electrs-rocksdb]
|
2023-10-13 00:35:14 +03:00
|
|
|
version = "0.19.0-e3"
|
2022-11-06 19:23:39 +02:00
|
|
|
|
2021-05-30 21:38:51 +03:00
|
|
|
default-features = false
|
2021-09-14 21:32:28 +03:00
|
|
|
# ZSTD is used for data compression
|
|
|
|
# Snappy is only for checking old DB
|
|
|
|
features = ["zstd", "snappy"]
|
2021-05-30 21:38:51 +03:00
|
|
|
|
2019-09-06 11:40:13 +02:00
|
|
|
[build-dependencies]
|
2022-11-06 19:23:39 +02:00
|
|
|
configure_me_codegen = { version = "0.4.4", default-features = false }
|
2021-09-13 11:50:21 +02:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2023-08-22 19:46:53 +02:00
|
|
|
bitcoin-test-data = "0.2.0"
|
2023-05-29 21:48:50 +03:00
|
|
|
hex_lit = "0.1.1"
|
2023-10-07 14:57:03 +03:00
|
|
|
tempfile = "3.8"
|