1
0
mirror of https://github.com/romanz/electrs.git synced 2024-11-19 01:43:29 +01:00
electrs/Cargo.toml

57 lines
1.6 KiB
TOML
Raw Normal View History

2018-04-08 22:48:55 +02:00
[package]
2018-05-31 13:29:44 +02:00
name = "electrs"
2024-09-29 16:55:02 +02:00
version = "0.10.6"
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"
edition = "2021"
build = "build.rs"
2018-04-08 22:48:55 +02:00
2021-03-26 09:05:58 +01:00
[features]
default = ["metrics"]
metrics = ["prometheus", "tiny_http"]
metrics_process = ["prometheus/process"]
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"
bitcoin = { version = "0.32.3", features = ["serde", "rand-std"] }
bitcoin_slices = { version = "0.9", features = ["bitcoin", "sha2"] }
2024-04-26 16:34:50 +02:00
bitcoincore-rpc = { version = "0.19.0" }
2021-03-26 09:05:58 +01:00
configure_me = "0.4"
crossbeam-channel = "0.5"
dirs-next = "2.0"
env_logger = "0.10"
2018-04-08 22:48:55 +02:00
log = "0.4"
parking_lot = "0.12"
2021-10-04 09:08:38 +02:00
prometheus = { version = "0.13", optional = true }
rayon = "1.9"
serde = "1.0"
serde_derive = "1.0, <=1.0.171" # avoid precompiled binaries (https://github.com/serde-rs/serde/issues/2538)
serde_json = "1.0"
2021-03-26 09:05:58 +01:00
signal-hook = "0.3"
tiny_http = { version = "0.12", optional = true }
2021-09-18 08:01:29 +02:00
[dependencies.electrs-rocksdb]
version = "0.19.0-e3"
default-features = false
# ZSTD is used for data compression
# Snappy is only for checking old DB
features = ["zstd", "snappy"]
[build-dependencies]
configure_me_codegen = { version = "0.4.8", default-features = false }
[dev-dependencies]
bitcoin-test-data = "0.2.0"
hex_lit = "0.1.1"
tempfile = "3.13"