c7af702270
* refactor PriceInfo to use Fetch and reuse the client * forget Fetch future to keep it running in the background * update Debug message for price_info::Client * wrap underlying errors in price_info client * use debug_struct in price_info client debug implementation * use global fetch service in price_info client * rename gas_pricer parameter in RunCmd * move price_info to its own crate * fix price_info tests * replace rustc_serialize with serde_json in price_info * add documentation for price_info * remove unused rustc-serialize dependency from ethcore * fix price_info formatting * re-export fetch crate in price_info * remove unused cfg attributes in price_info * add tests for price_info
17 lines
344 B
TOML
17 lines
344 B
TOML
[package]
|
|
description = "Fetch current ETH price"
|
|
homepage = "http://parity.io"
|
|
license = "GPL-3.0"
|
|
name = "price-info"
|
|
version = "1.7.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
|
|
[dependencies]
|
|
fetch = { path = "../util/fetch" }
|
|
futures = "0.1"
|
|
log = "0.3"
|
|
serde_json = "1.0"
|
|
|
|
[dev-dependencies]
|
|
ethcore-util = { path = "../util" }
|