2015-11-24 20:57:45 +01:00
|
|
|
[package]
|
2016-01-17 13:11:25 +01:00
|
|
|
description = "Ethcore library"
|
2016-12-11 19:14:42 +01:00
|
|
|
homepage = "http://parity.io"
|
2015-11-24 21:25:07 +01:00
|
|
|
license = "GPL-3.0"
|
2016-01-17 13:11:25 +01:00
|
|
|
name = "ethcore"
|
2018-04-25 16:25:43 +02:00
|
|
|
version = "1.12.0"
|
2016-12-11 19:14:42 +01:00
|
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
2015-11-24 22:21:31 +01:00
|
|
|
|
|
|
|
[dependencies]
|
2018-01-17 11:45:29 +01:00
|
|
|
ansi_term = "0.10"
|
2018-06-20 15:13:07 +02:00
|
|
|
blooms-db = { path = "../util/blooms-db" }
|
2018-03-27 04:35:51 +02:00
|
|
|
bn = { git = "https://github.com/paritytech/bn", default-features = false }
|
2017-02-05 16:17:03 +01:00
|
|
|
byteorder = "1.0"
|
2017-07-12 13:09:17 +02:00
|
|
|
common-types = { path = "types" }
|
2018-01-19 13:46:11 +01:00
|
|
|
crossbeam = "0.3"
|
2016-07-30 15:38:44 +02:00
|
|
|
ethash = { path = "../ethash" }
|
2017-04-03 09:40:18 +02:00
|
|
|
ethcore-bloom-journal = { path = "../util/bloom" }
|
2017-09-06 20:47:45 +02:00
|
|
|
ethcore-bytes = { path = "../util/bytes" }
|
2018-04-09 16:14:33 +02:00
|
|
|
fetch = { path = "../util/fetch" }
|
2017-09-06 20:47:45 +02:00
|
|
|
hashdb = { path = "../util/hashdb" }
|
|
|
|
memorydb = { path = "../util/memorydb" }
|
2017-11-10 18:31:31 +01:00
|
|
|
patricia-trie = { path = "../util/patricia_trie" }
|
2018-07-02 18:50:05 +02:00
|
|
|
patricia-trie-ethereum = { path = "../util/patricia-trie-ethereum" }
|
2018-05-05 11:02:33 +02:00
|
|
|
ethcore-crypto = { path = "crypto" }
|
2018-06-25 14:20:44 +02:00
|
|
|
error-chain = { version = "0.12", default-features = false }
|
2017-04-03 09:40:18 +02:00
|
|
|
ethcore-io = { path = "../util/io" }
|
|
|
|
ethcore-logger = { path = "../logger" }
|
2018-01-11 17:49:10 +01:00
|
|
|
ethcore-miner = { path = "../miner" }
|
2018-04-10 10:13:42 +02:00
|
|
|
ethcore-stratum = { path = "./stratum" }
|
2018-01-11 17:49:10 +01:00
|
|
|
ethcore-transaction = { path = "./transaction" }
|
2018-04-02 13:12:52 +02:00
|
|
|
ethereum-types = "0.3"
|
2017-10-16 06:05:54 +02:00
|
|
|
memory-cache = { path = "../util/memory_cache" }
|
2018-02-09 09:32:06 +01:00
|
|
|
ethabi = "5.1"
|
|
|
|
ethabi-derive = "5.0"
|
|
|
|
ethabi-contract = "5.0"
|
2017-04-03 09:40:18 +02:00
|
|
|
ethjson = { path = "../json" }
|
|
|
|
ethkey = { path = "../ethkey" }
|
|
|
|
ethstore = { path = "../ethstore" }
|
2017-07-12 13:09:17 +02:00
|
|
|
evm = { path = "evm" }
|
2017-08-30 16:04:47 +02:00
|
|
|
heapsize = "0.4"
|
2017-04-03 09:40:18 +02:00
|
|
|
itertools = "0.5"
|
2018-01-17 11:45:29 +01:00
|
|
|
lazy_static = "1.0"
|
2017-04-03 09:40:18 +02:00
|
|
|
log = "0.3"
|
2017-10-05 12:35:01 +02:00
|
|
|
lru-cache = "0.1"
|
2018-03-27 04:35:51 +02:00
|
|
|
num = { version = "0.1", default-features = false, features = ["bigint"] }
|
2017-04-03 09:40:18 +02:00
|
|
|
num_cpus = "1.2"
|
2017-09-26 14:19:08 +02:00
|
|
|
parity-machine = { path = "../machine" }
|
2018-07-03 17:31:08 +02:00
|
|
|
parking_lot = "0.6"
|
2018-04-04 14:05:21 +02:00
|
|
|
rayon = "1.0"
|
2018-02-09 09:32:06 +01:00
|
|
|
rand = "0.4"
|
2017-04-03 09:40:18 +02:00
|
|
|
rlp = { path = "../util/rlp" }
|
2018-02-23 10:12:52 +01:00
|
|
|
rlp_compress = { path = "../util/rlp_compress" }
|
2017-08-20 06:01:46 +02:00
|
|
|
rlp_derive = { path = "../util/rlp_derive" }
|
2017-10-10 20:01:27 +02:00
|
|
|
kvdb = { path = "../util/kvdb" }
|
2017-10-12 15:36:27 +02:00
|
|
|
kvdb-memorydb = { path = "../util/kvdb-memorydb" }
|
2017-10-10 20:01:27 +02:00
|
|
|
util-error = { path = "../util/error" }
|
2017-12-02 10:08:04 +01:00
|
|
|
snappy = { git = "https://github.com/paritytech/rust-snappy" }
|
2018-01-19 13:46:31 +01:00
|
|
|
stop-guard = { path = "../util/stop-guard" }
|
2017-10-10 20:01:27 +02:00
|
|
|
macros = { path = "../util/macros" }
|
2017-07-06 11:36:15 +02:00
|
|
|
rustc-hex = "1.0"
|
2017-04-03 09:40:18 +02:00
|
|
|
stats = { path = "../util/stats" }
|
2018-02-23 19:49:08 +01:00
|
|
|
trace-time = { path = "../util/trace-time" }
|
2017-07-29 17:12:07 +02:00
|
|
|
using_queue = { path = "../util/using_queue" }
|
2017-08-01 12:37:57 +02:00
|
|
|
vm = { path = "vm" }
|
|
|
|
wasm = { path = "wasm" }
|
2017-11-10 19:04:55 +01:00
|
|
|
keccak-hash = { path = "../util/hash" }
|
2017-09-03 09:11:14 +02:00
|
|
|
triehash = { path = "../util/triehash" }
|
2017-09-05 12:14:03 +02:00
|
|
|
unexpected = { path = "../util/unexpected" }
|
2017-10-17 06:20:24 +02:00
|
|
|
journaldb = { path = "../util/journaldb" }
|
2018-07-02 18:50:05 +02:00
|
|
|
keccak-hasher = { path = "../util/keccak-hasher" }
|
2018-06-20 15:13:07 +02:00
|
|
|
kvdb-rocksdb = { path = "../util/kvdb-rocksdb" }
|
2018-07-02 18:50:05 +02:00
|
|
|
tempdir = {version="0.3", optional = true}
|
2015-12-02 21:49:57 +01:00
|
|
|
|
2018-06-26 09:03:38 +02:00
|
|
|
[target.'cfg(any(target_os = "linux", target_os = "macos", target_os = "windows", target_os = "android"))'.dependencies]
|
|
|
|
hardware-wallet = { path = "../hw" }
|
|
|
|
|
|
|
|
[target.'cfg(not(any(target_os = "linux", target_os = "macos", target_os = "windows", target_os = "android")))'.dependencies]
|
|
|
|
fake-hardware-wallet = { path = "../util/fake-hardware-wallet" }
|
|
|
|
|
2018-02-19 12:03:54 +01:00
|
|
|
[dev-dependencies]
|
2018-06-27 20:25:49 +02:00
|
|
|
tempdir = "0.3"
|
2018-07-02 18:50:05 +02:00
|
|
|
trie-standardmap = { path = "../util/trie-standardmap" }
|
2018-02-19 12:03:54 +01:00
|
|
|
|
2016-01-17 13:11:25 +01:00
|
|
|
[features]
|
2018-04-13 17:34:27 +02:00
|
|
|
# Display EVM debug traces.
|
2018-06-22 11:00:19 +02:00
|
|
|
evm-debug = ["evm/evm-debug"]
|
2018-04-13 17:34:27 +02:00
|
|
|
# Display EVM debug traces when running tests.
|
2017-12-29 15:29:18 +01:00
|
|
|
evm-debug-tests = ["evm-debug", "evm/evm-debug-tests"]
|
2018-04-13 17:34:27 +02:00
|
|
|
# Measure time of transaction execution.
|
|
|
|
# Whenever the transaction execution time (in millis) exceeds the value of
|
|
|
|
# SLOW_TX_DURATION env variable (provided compile time!)
|
|
|
|
# EVM debug traces are printed.
|
|
|
|
slow-blocks = []
|
|
|
|
# Run JSON consensus tests.
|
2018-06-25 11:21:45 +02:00
|
|
|
json-tests = ["ethcore-transaction/json-tests", "test-helpers", "tempdir"]
|
2018-04-13 17:34:27 +02:00
|
|
|
# Run memory/cpu heavy tests.
|
2016-01-21 16:08:09 +01:00
|
|
|
test-heavy = []
|
2018-04-13 17:34:27 +02:00
|
|
|
# Compile benches
|
2016-07-05 15:15:44 +02:00
|
|
|
benches = []
|
2018-06-04 15:58:44 +02:00
|
|
|
# Compile test helpers
|
2018-06-25 11:21:45 +02:00
|
|
|
test-helpers = ["tempdir"]
|