forked from elichai/kaspa-miner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
59 lines (53 loc) · 1.35 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
[package]
name = "kaspa-miner"
version = "0.2.4"
edition = "2021"
license = "MIT/Apache-2.0"
authors = ["Elichai <[email protected]>"]
repository = "https://github.com/elichai/kaspa-miner"
readme = "README.md"
description = "A Kaspa high performance CPU miner"
categories = ["command-line-utilities"]
keywords = ["blockchain", "cli"]
include = [
"src/**",
"proto/**",
"Cargo.toml",
"Cargo.lock",
"build.rs",
"LICENSE-MIT",
"LICENSE-APACHE",
"README.md",
]
[dependencies]
tonic = "0.10"
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
prost = "0.12"
tokio-stream = "0.1"
num_cpus = "1"
rand = "0.8"
blake2b_simd = "1.0.0"
clap = { version = "4", features = ["derive", "color"] }
log = "0.4"
env_logger = "0.10"
arc-swap = "1.6.0"
keccak = { version = "0.1", optional = true }
parking = { package = "parking_lot", version = "0.12", optional = true }
shuttle = { version = "0.6", optional = true }
chrono = "0.4"
[features]
default = ["keccak?/asm"]
parking_lot = ["parking", "tokio/parking_lot"]
bench = []
no-asm = ["keccak"]
[target.'cfg(not(target_arch = "x86_64"))'.dependencies]
keccak = "0.1"
[profile.release]
lto = true
codegen-units = 1
strip = true
[build-dependencies]
tonic-build = { version = "0.10", default-features = false, features = ["prost", "transport"] }
cc = "1"
[dev-dependencies]
sha3 = "0.10"