-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
90 lines (80 loc) · 2.27 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
[package]
name = "electrs"
version = "0.4.1"
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"
[features]
default = [ "rocksdb" ]
liquid = [ "elements" ]
electrum-discovery = [ "electrum-client"]
oldcpu = [ "rocksdb-oldcpu" ]
[dependencies]
arraydeque = "0.4"
arrayref = "0.3.6"
base64 = "0.13.0"
bincode = "1.3.1"
clap = "2.33.3"
crossbeam-channel = "0.5.0"
dirs = "3.0.1"
error-chain = "0.12.4"
glob = "0.3"
hex = "0.4.2"
itertools = "0.9.0"
lazy_static = "1.3.0"
libc = "0.2.81"
log = "0.4.11"
socket2 = { version = "0.3.18", features = ["reuseport"] }
num_cpus = "1.12.0"
page_size = "0.4.2"
prometheus = "0.11.0"
rayon = "1.5.0"
rocksdb = { version = "0.15.0", optional = true }
rocksdb-oldcpu = { version = "0.12.4", optional = true, package = "rocksdb" }
rust-crypto = "0.2"
serde = "1.0.118"
serde_derive = "1.0.118"
serde_json = "1.0.60"
signal-hook = "0.2.2"
stderrlog = "0.5.0"
sysconf = ">=0.3.4"
time = "0.2.23"
tiny_http = "0.7.0"
url = "2.2.0"
hyper = "0.13.6"
hyperlocal = "0.7"
# close to same tokio version as dependent by hyper v0.13.6 and hyperlocal 0.7 -- things can go awry if they mismatch
tokio = { version = "=0.2.6", features = ["sync", "macros"] }
sha3 = "0.9.1"
nalgebra = "0.24.0"
rand_xoshiro = "0.6.0"
# optional dependencies for electrum-discovery
electrum-client = { version = "0.1.0-beta.6", optional = true }
[dependencies.bitcoin]
version = "0.23.0"
features = ["use-serde"]
[dependencies.elements]
optional = true
version = "0.12.1"
features = ["serde-feature"]
[dev-dependencies]
tempfile = "3.0"
[profile.release]
lto = true
panic = 'abort'
codegen-units = 1
[patch.crates-io.bitcoin]
git = "https://github.com/blockstream/rust-bitcoin"
rev = "0.23-electrs"
[patch.crates-io.elements]
git = "https://github.com/elementsproject/rust-elements"
rev = "98e0c4ba1b55cd876d1d8bcff64bcf01c4c370b6"
[patch.crates-io.electrum-client]
git = "https://github.com/Blockstream/rust-electrum-client"
rev = "bd783aa70604fa1a0d8b29a3459326c640001354" # add-peer