79a17dedd0
* Rename RegistryInfo -> RegistryInfoDeprecated * Add BlockId parameter to Registrar::get_address and RegistrarClient::call_contract * Remove RegistrarClient::Call (use async for now); add RegistrarClient::get_address * Remove Registrar type in favour of naked trait * Use CallContract trait bound instead of separate call_contract method * Make RegistrarClient::get_address and URLHint::resolve synchronous * RegistrarClient::get_address: return check if address is zero * Modify RegistryInfo::registry_address to take &str * return Result from RegistryInfo::registry_address * Replace RegistryInfo with RegistrarClient - Modifed RegistrarClient::registrar_address to return Option - Removed BlockChainClient::registrar_address * Fix other build configs * Fix unit test builds * Remove local RegistrarClient type from run::execute_impl * Remove registrar.json from ethcore * Formatting/line breaks * Update RegistrarClient docs, remove explicit lifetime * Weak ref to ethcore client from hash fetch client * Fix unit tests
47 lines
1.2 KiB
TOML
47 lines
1.2 KiB
TOML
[package]
|
|
description = "Parity Ethereum 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.12", optional = true }
|
|
url = { version = "2", optional = true }
|
|
|
|
# Miner
|
|
ansi_term = "0.11"
|
|
common-types = { path = "../ethcore/types" }
|
|
ethabi = "8.0"
|
|
ethabi-derive = "8.0"
|
|
ethabi-contract = "8.0"
|
|
ethcore-call-contract = { path = "../ethcore/call-contract" }
|
|
ethereum-types = "0.6.0"
|
|
futures = "0.1"
|
|
parity-util-mem = "0.2.0"
|
|
keccak-hash = "0.2.0"
|
|
linked-hash-map = "0.5"
|
|
log = "0.4"
|
|
parity-runtime = { path = "../util/runtime" }
|
|
parking_lot = "0.9"
|
|
price-info = { path = "./price-info", optional = true }
|
|
registrar = { path = "../util/registrar" }
|
|
rlp = "0.4.0"
|
|
serde = "1.0"
|
|
serde_derive = "1.0"
|
|
serde_json = "1.0"
|
|
trace-time = "0.1"
|
|
transaction-pool = "2.0.1"
|
|
|
|
[dev-dependencies]
|
|
env_logger = "0.5"
|
|
ethkey = { path = "../accounts/ethkey" }
|
|
rustc-hex = "1.0"
|
|
|
|
[features]
|
|
work-notify = ["ethash", "fetch", "hyper", "url"]
|