forked from 256foundation/hydrapool
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
70 lines (64 loc) · 2.29 KB
/
Cargo.toml
File metadata and controls
70 lines (64 loc) · 2.29 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
60
61
62
63
64
65
66
67
68
69
70
[package]
name = "hydrapool"
version = "2.4.0"
edition = "2024"
rust-version = "1.88.0"
authors = ["Kulpreet Singh<kp@opdup.com>"]
license = "AGPLv3"
description = "Hydrapool - an open source PPLNS pool for bitcoin"
readme = "README.md"
homepage = "https://hydrapool.org/"
repository = "https://github.com/256-Foundation/Hydra-Pool/"
keywords = ["bitcoin", "mining", "pool", "p2p"]
categories = ["cryptography::cryptocurrencies"]
exclude=["tests"]
default-run = "hydrapool"
[profile.release]
codegen-units = 1
lto = "fat"
strip = "symbols"
panic = "abort"
# The profile that 'dist' will build with
[profile.dist]
inherits = "release"
lto = "thin"
[dependencies]
clap = { version = "4.0", features = ["derive"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
bitcoin = { version = "0.32.5", features = ["serde", "rand"] }
tokio = { version = "1.0", features = ["full"] }
p2poolv2_lib = { git = "https://github.com/p2poolv2/p2poolv2", package = "p2poolv2_lib", tag = "v0.7.0" }
p2poolv2_cli = { git = "https://github.com/p2poolv2/p2poolv2", package = "p2poolv2_cli", tag = "v0.7.0" }
p2poolv2_api = { git = "https://github.com/p2poolv2/p2poolv2", package = "p2poolv2_api", tag = "v0.7.0" }
bitcoindrpc = { git = "https://github.com/p2poolv2/p2poolv2", package = "bitcoindrpc", tag = "v0.7.0" }
[[bin]]
name = "hydrapool"
test = false
bench = false
[[bin]]
name = "hydrapool_cli"
test = false
bench = false
[package.metadata.deb]
maintainer = "Kulpreet Singh <kp@opdup.com>"
copyright = "2024, Kulpreet Singh <kp@opdup.com>"
license-file = ["LICENSE", "4"]
extended-description = """\
Hydrapool is an open source Bitcoin mining pool with support for solo mining \
and PPLNS (Pay Per Last N Shares) accounting. Features include:\n\
- Run a private solo pool or PPLNS pool\n\
- Payouts made directly from coinbase (no custody)\n\
- API for downloading and validating share accounting\n\
- Compatible with any bitcoin RPC node"""
depends = "$auto, systemd"
section = "net"
priority = "optional"
assets = [
["target/release/hydrapool", "usr/bin/", "755"],
["target/release/hydrapool_cli", "usr/bin/", "755"],
["config.toml", "etc/hydrapool/config.toml", "644"],
]
conf-files = ["/etc/hydrapool/config.toml"]
maintainer-scripts = "packages/debian/"
systemd-units = { enable = false }