forked from tmrlvi/kaspa-miner
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Cargo.toml
79 lines (72 loc) · 1.92 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
[package]
name = "karlsen-miner"
version = "2.0.0"
edition = "2021"
license = "MIT/Apache-2.0"
repository = "https://github.com/karlsen-network/karlsen-miner"
readme = "README.md"
description = "A fast CPU & GPU miner for Karlsen"
categories = ["command-line-utilities"]
keywords = ["blockchain", "cli"]
include = [
"src/**/*.rs",
"src/**/*.s",
"proto/**",
"Cargo.toml",
"Cargo.lock",
"build.rs",
"LICENSE-MIT",
"LICENSE-APACHE",
"README.md",
]
[dependencies]
blake3 = "1.5.0"
tonic = "0.8"
tokio = { version = "1.28.0", features = ["macros", "rt-multi-thread"] }
prost = "0.11"
futures-util = "0.3"
tokio-stream = {version = "0.1", features = ["net"]}
once_cell = "1"
num_cpus = "1"
rand = "0.8"
blake2b_simd = "1.0.0"
clap = { version = "3.0", features = ["color", "derive"]}
log = "0.4"
env_logger = "0.9"
keccak = { version = "0.1", optional = true }
parking = { package = "parking_lot", version = "0.12", optional = true }
shuttle = { version = "0.4.1", optional = true }
libloading = "0.7"
tokio-util = {version = "0.7.0", features = ["codec"]}
serde_json = "1.0"
serde_repr = "0.1"
serde = {version="1.0", features=["derive"]}
futures = "0.3.21"
bytes = "1.1.0"
async-trait = "0.1"
num = "0.4"
nix = "0.25"
hex = "0.4"
semver = "1.0"
time = { version = "0.3", features = ["formatting", "macros"] }
[features]
default = ["parking_lot"]
parking_lot = ["parking", "tokio/parking_lot"]
bench = []
no-asm = ["keccak"]
[target.'cfg(target_os = "windows")'.dependencies]
keccak = "0.1"
kernel32-sys = "0.2"
win32console = "0.1"
[profile.release]
lto = true
codegen-units = 1
[build-dependencies]
tonic-build = { version = "0.8", default-features = false, features = ["prost", "transport"] }
cc = "1"
time = { version = "0.3", features = ["formatting"] }
[dev-dependencies]
sha3 = { git = "https://github.com/elichai/hashes", branch = "cSHAKE" }
[workspace]
members = ["plugins/*"]
default-members = [".", "plugins/cuda"]