forked from PoC-Consortium/scavenger
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathCargo.toml
61 lines (56 loc) · 1.49 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
[package]
name = "signum-miner"
version = "1.8.1"
license = "GPL-3.0"
authors = ["signum-network, forked from PoC Consortium"]
description = """
signum-miner - a PoC miner written in Rust
"""
build = "build.rs"
repository = "https://github.com/signum-network/signum-miner"
documentation = "https://github.com/signum-network/signum-miner"
keywords = ["poc", "miner", "rust","cryptocurrency"]
readme = "README.md"
edition = "2021"
[features]
simd = []
neon = []
opencl = ["ocl-core"]
[dependencies]
cfg-if = "0.1"
clap = "~2.30"
core_affinity = "0.5.9"
crossbeam-channel = "0.3"
filetime = "0.2"
futures = "0.1"
hex = "0.3"
hostname = "0.1.5"
libc = "0.2"
log = "0.4"
log4rs = { version = "0.8", features = ["rolling_file_appender", "compound_policy", "size_trigger", "fixed_window_roller"] }
num_cpus = "1.9"
ocl-core = { version = "0.11.5", optional = true }
pbr = "1.0.1"
rand = "0.6"
rayon = "1.0"
serde = "1.0"
serde_derive = "1.0"
serde_json = "1.0"
serde_yaml = "0.8"
stopwatch = "0.0.7"
tokio = "0.1"
url = "1.7"
page_size = "0.4.1"
reqwest = { version = "0.9.9", default-features = false, features = ["rustls-tls"] }
bytes = "0.4.11"
url_serde = "0.2"
[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3", features = ["fileapi"] }
[build-dependencies]
cc = "1.0"
cfg-if = "0.1"
[profile.release]
opt-level = 'z' # Optimize for size.
lto = true # Enable Link Time Optimization
codegen-units = 1 # Reduce number of codegen units to increase optimizations.
panic = 'abort' # Abort on panic