forked from vnprc/hashpool
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
59 lines (54 loc) · 2.42 KB
/
Copy pathCargo.toml
File metadata and controls
59 lines (54 loc) · 2.42 KB
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
[package]
name = "translator_sv2"
version = "0.1.2"
authors = ["The Stratum V2 Developers"]
edition = "2021"
description = "Server used to bridge SV1 miners to SV2 pools"
documentation = "https://docs.rs/translator_sv2"
readme = "README.md"
homepage = "https://stratumprotocol.org"
repository = "https://github.com/stratum-mining/stratum"
license = "MIT OR Apache-2.0"
keywords = ["stratum", "mining", "bitcoin", "protocol"]
[lib]
name = "translator_sv2"
path = "src/lib/mod.rs"
[[bin]]
name = "translator_sv2"
path = "src/main.rs"
[dependencies]
stratum-common = { version = "1.0.0", path = "../../common" }
async-channel = "1.5.1"
async-recursion = "0.3.2"
async-std = { version = "1.12.0", features = ["attributes"] }
binary_sv2 = { version = "^1.0.0", path = "../../protocols/v2/binary-sv2/binary-sv2" }
buffer_sv2 = { version = "^1.0.0", path = "../../utils/buffer" }
codec_sv2 = { version = "^1.0.1", path = "../../protocols/v2/codec-sv2", features = ["noise_sv2", "with_buffer_pool"] }
framing_sv2 = { version = "^3.0.0", path = "../../protocols/v2/framing-sv2" }
network_helpers_sv2 = { version = "2.0.0", path = "../roles-utils/network-helpers", features=["async_std", "with_buffer_pool"] }
once_cell = "1.12.0"
roles_logic_sv2 = { version = "^1.0.0", path = "../../protocols/v2/roles-logic-sv2" }
serde = { version = "1.0.89", default-features = false, features = ["derive", "alloc"] }
serde_json = { version = "1.0.64", default-features = false, features = ["alloc"] }
futures = "0.3.25"
tokio = { version = "1", features = ["full"] }
ext-config = { version = "0.14.0", features = ["toml"], package = "config" }
tracing = { version = "0.1" }
tracing-subscriber = { version = "0.3" }
v1 = { version = "^1.0.0", path = "../../protocols/v1", package="sv1_api" }
error_handling = { version = "1.0.0", path = "../../utils/error-handling" }
key-utils = { version = "^1.0.0", path = "../../utils/key-utils" }
tokio-util = { version = "0.7.10", features = ["codec"] }
async-compat = "0.2.1"
rand = "0.8.4"
bitcoin = "0.30"
mining_sv2 = { version = "^1.0.0", path = "../../protocols/v2/subprotocols/mining" }
cdk = { git = "https://github.com/vnprc/cdk", rev = "64ec7f6f" }
uuid = { version = "1", features = ["v4"] }
ureq = { version = "2", features = ["tls"] }
# TODO delete after implementing the cdk HTTP API to retrieve quote id from header hash
redis = { version = "0.25", features = ["tokio-comp"] }
[dev-dependencies]
sha2 = "0.10.6"
[features]
with_serde = []