-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
54 lines (46 loc) · 1.67 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
[package]
name = "grin_miner"
version = "2.0.0"
authors = ["Grin Developers <mimblewimble@lists.launchpad.net>"]
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.1", features = ["max_level_trace", "release_max_level_trace"] }
term = "0.4"
time = "0.1"
grin_miner_util = { path = "./util", version = "2.0.0" }
grin_miner_plugin = { path = "./plugin", version = "2.0.0" }
grin_miner_config = { path = "./config", version = "2.0.0" }
cuckoo_miner = { path = "./cuckoo-miner", version = "2.0.0" }
#use this alternative inclusion below to build cuda plugins
# cuckoo_miner = { path = "./cuckoo-miner", version = "2.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}
[target.'cfg(windows)'.dependencies]
cursive = { version = "0.12.0", default-features = false, optional = true, features = ["pancurses-backend"] }
[target.'cfg(windows)'.dependencies.pancurses]
version = "0.16.0"
features = ["win32"]
[target.'cfg(unix)'.dependencies]
cursive = { version = "0.12.0", optional = true }
[build-dependencies]
built = "0.2"