-
Notifications
You must be signed in to change notification settings - Fork 153
/
Copy pathCargo.toml
52 lines (44 loc) · 1.51 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
[package]
name = "grin_miner"
version = "4.0.0"
authors = ["Grin Developers <[email protected]>"]
description = "Mining software for Grin, supports CPU and CUDA GPUs."
build = "src/build/build.rs"
license = "Apache-2.0"
repository = "https://github.com/mimblewimble/grin-miner"
keywords = [ "crypto", "grin", "mimblewimble", "mining"]
autobins = false
[workspace]
members = ["config", "util", "plugin"]
[features]
default = ["tui"]
opencl = ["ocl_cuckatoo", "ocl_cuckaroo"]
tui = ["cursive"]
[[bin]]
name = "grin-miner"
path = "src/bin/grin_miner.rs"
[dependencies]
backtrace = "0.3"
bufstream = "0.1"
native-tls = "0.2"
serde = "1"
serde_derive = "1"
serde_json = "1"
slog = { version = "2", features = ["max_level_trace", "release_max_level_trace"] }
term = "0.6"
time = "0.1"
grin_miner_util = { path = "./util", version = "4.0.0" }
grin_miner_plugin = { path = "./plugin", version = "4.0.0" }
grin_miner_config = { path = "./config", version = "4.0.0" }
#cuckoo_miner = { path = "./cuckoo-miner", version = "4.0.0" }
#use this alternative inclusion below to build cuda plugins
cuckoo_miner = { path = "./cuckoo-miner", version = "4.0.0", features = ["build-cuda-plugins"]}
ocl_cuckatoo = { path = "./ocl_cuckatoo", version = "1.0.2", optional = true}
ocl_cuckaroo = { path = "./ocl_cuckaroo", version = "1.0.2", optional = true}
[dependencies.cursive]
version = "0.14"
default-features = false
features = ["pancurses-backend"]
optional = true
[build-dependencies]
built = { version= "0.4", features = ["git2","chrono"] }