71bbcd54ff
* Make work-notify an optional feature * More optional ethcore features: price-info, stratum * Make ethcore features part of dependency instead of local features * Put cfg gate in right location * Feature gate register function on work-notify
41 lines
1.1 KiB
TOML
41 lines
1.1 KiB
TOML
[package]
|
|
description = "Parity Miner interface."
|
|
name = "ethcore-miner"
|
|
homepage = "http://parity.io"
|
|
license = "GPL-3.0"
|
|
version = "1.12.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
|
|
[dependencies]
|
|
# Only work_notify, consider a separate crate
|
|
ethash = { path = "../ethash", optional = true }
|
|
fetch = { path = "../util/fetch", optional = true }
|
|
hyper = { version = "0.11", optional = true }
|
|
parity-reactor = { path = "../util/reactor", optional = true }
|
|
url = { version = "1", optional = true }
|
|
|
|
# Miner
|
|
ansi_term = "0.10"
|
|
error-chain = "0.12"
|
|
ethcore-transaction = { path = "../ethcore/transaction" }
|
|
ethereum-types = "0.3"
|
|
futures = "0.1"
|
|
futures-cpupool = "0.1"
|
|
heapsize = "0.4"
|
|
keccak-hash = { path = "../util/hash" }
|
|
linked-hash-map = "0.5"
|
|
log = "0.3"
|
|
parking_lot = "0.6"
|
|
price-info = { path = "../price-info", optional = true }
|
|
rlp = { path = "../util/rlp" }
|
|
trace-time = { path = "../util/trace-time" }
|
|
transaction-pool = { path = "../transaction-pool" }
|
|
|
|
[dev-dependencies]
|
|
env_logger = "0.4"
|
|
ethkey = { path = "../ethkey" }
|
|
rustc-hex = "1.0"
|
|
|
|
[features]
|
|
work-notify = ["ethash", "fetch", "hyper", "parity-reactor", "url"]
|