1
0
mirror of https://github.com/romanz/electrs.git synced 2024-11-19 01:43:29 +01:00
electrs/Cargo.toml
Martin Habovstiak eaa7351f00 Upgrade bitcoin to 0.29.1
Known benefits of the upgrade:

* Removed dependencies on a bunch of useless RNGs since `rand` was
  upgraded in `bitcoin`
* Clearer code - `BlockHash::all_zeros()`

Related change: manual construction of genesis block changed to use
function from `bitcoin` crate.
2022-08-25 19:52:41 +02:00

57 lines
1.5 KiB
TOML

[package]
name = "electrs"
version = "0.9.9"
authors = ["Roman Zeyde <me@romanzey.de>"]
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 = "2018"
build = "build.rs"
[features]
default = ["metrics"]
metrics = ["prometheus", "tiny_http"]
metrics_process = ["prometheus/process"]
[package.metadata.configure_me]
spec = "internal/config_specification.toml"
[dependencies]
anyhow = "1.0"
bitcoin = { version = "0.29.1", features = ["serde", "rand"] }
bitcoincore-rpc = "0.16"
configure_me = "0.4"
crossbeam-channel = "0.5"
dirs-next = "2.0"
env_logger = "0.9"
fs_extra = "1.2"
log = "0.4"
parking_lot = "0.11"
prometheus = { version = "0.13", optional = true }
rayon = "1.5"
serde = "1.0"
serde_derive = "1.0"
serde_json = "1.0"
signal-hook = "0.3"
tiny_http = { version = "0.9", optional = true }
[dependencies.electrs-rocksdb]
# 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)
version = "0.15.0-e2"
default-features = false
# ZSTD is used for data compression
# Snappy is only for checking old DB
features = ["zstd", "snappy"]
[build-dependencies]
configure_me_codegen = "0.4.2"
[dev-dependencies]
tempfile = "3.3"