2015-11-24 20:57:45 +01:00
|
|
|
[package]
|
2019-08-12 18:55:11 +02:00
|
|
|
description = "Parity Ethereum (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"
|
2019-01-04 14:05:46 +01:00
|
|
|
blooms-db = { path = "../util/blooms-db", optional = true }
|
2017-02-05 16:17:03 +01:00
|
|
|
byteorder = "1.0"
|
2017-07-12 13:09:17 +02:00
|
|
|
common-types = { path = "types" }
|
2019-08-12 18:55:11 +02:00
|
|
|
crossbeam-utils = "0.6"
|
2019-09-12 18:43:53 +02:00
|
|
|
eip-152 = { version = "0.1", path = "../util/EIP-152" }
|
2019-01-08 15:07:20 +01:00
|
|
|
env_logger = { version = "0.5", optional = true }
|
2019-01-04 14:05:46 +01:00
|
|
|
error-chain = { version = "0.12", default-features = false }
|
|
|
|
ethabi = "6.0"
|
|
|
|
ethabi-contract = "6.0"
|
|
|
|
ethabi-derive = "6.0"
|
2016-07-30 15:38:44 +02:00
|
|
|
ethash = { path = "../ethash" }
|
2019-01-04 14:05:46 +01:00
|
|
|
ethcore-blockchain = { path = "./blockchain" }
|
2017-04-03 09:40:18 +02:00
|
|
|
ethcore-bloom-journal = { path = "../util/bloom" }
|
2019-11-11 21:57:38 +01:00
|
|
|
ethcore-builtin = { path = "./builtin" }
|
2019-01-16 19:52:21 +01:00
|
|
|
ethcore-call-contract = { path = "./call-contract" }
|
2019-01-04 14:05:46 +01:00
|
|
|
ethcore-db = { path = "./db" }
|
2017-04-03 09:40:18 +02:00
|
|
|
ethcore-io = { path = "../util/io" }
|
2018-01-11 17:49:10 +01:00
|
|
|
ethcore-miner = { path = "../miner" }
|
2018-12-28 10:33:49 +01:00
|
|
|
ethcore-stratum = { path = "../miner/stratum", optional = true }
|
2018-09-04 20:13:51 +02:00
|
|
|
ethereum-types = "0.4"
|
2017-04-03 09:40:18 +02:00
|
|
|
ethjson = { path = "../json" }
|
2018-12-28 10:33:49 +01:00
|
|
|
ethkey = { path = "../accounts/ethkey" }
|
2017-07-12 13:09:17 +02:00
|
|
|
evm = { path = "evm" }
|
2019-02-20 19:09:34 +01:00
|
|
|
hash-db = "0.11.0"
|
2017-08-30 16:04:47 +02:00
|
|
|
heapsize = "0.4"
|
2017-04-03 09:40:18 +02:00
|
|
|
itertools = "0.5"
|
2019-01-04 14:05:46 +01:00
|
|
|
journaldb = { path = "../util/journaldb" }
|
|
|
|
keccak-hash = "0.1"
|
|
|
|
keccak-hasher = { path = "../util/keccak-hasher" }
|
|
|
|
kvdb = "0.1"
|
|
|
|
kvdb-memorydb = "0.1"
|
|
|
|
kvdb-rocksdb = { version = "0.1.3", optional = true }
|
2019-03-26 23:31:52 +01:00
|
|
|
lazy_static = "1.2.0"
|
2019-01-04 14:05:46 +01:00
|
|
|
len-caching-lock = { path = "../util/len-caching-lock" }
|
2018-08-10 01:04:10 +02:00
|
|
|
log = "0.4"
|
2017-10-05 12:35:01 +02:00
|
|
|
lru-cache = "0.1"
|
2019-01-04 14:05:46 +01:00
|
|
|
macros = { path = "../util/macros" }
|
|
|
|
memory-cache = { path = "../util/memory-cache" }
|
2019-11-11 21:57:38 +01:00
|
|
|
memory-db = "0.11"
|
2017-04-03 09:40:18 +02:00
|
|
|
num_cpus = "1.2"
|
2019-01-04 14:05:46 +01:00
|
|
|
parity-bytes = "0.1"
|
|
|
|
parity-snappy = "0.1"
|
2018-12-11 17:22:55 +01:00
|
|
|
parking_lot = "0.7"
|
2019-02-20 19:09:34 +01:00
|
|
|
trie-db = "0.11.0"
|
2019-01-04 14:05:46 +01:00
|
|
|
patricia-trie-ethereum = { path = "../util/patricia-trie-ethereum" }
|
2018-02-09 09:32:06 +01:00
|
|
|
rand = "0.4"
|
2019-08-12 18:55:11 +02:00
|
|
|
rayon = "1.1"
|
2018-10-09 22:07:25 +02:00
|
|
|
rlp = { version = "0.3.0", features = ["ethereum"] }
|
2018-12-28 10:33:49 +01:00
|
|
|
rlp_derive = { path = "../util/rlp-derive" }
|
2017-07-06 11:36:15 +02:00
|
|
|
rustc-hex = "1.0"
|
2019-01-04 14:05:46 +01:00
|
|
|
serde = "1.0"
|
|
|
|
serde_derive = "1.0"
|
2017-04-03 09:40:18 +02:00
|
|
|
stats = { path = "../util/stats" }
|
2019-01-04 14:05:46 +01:00
|
|
|
tempdir = {version="0.3", optional = true}
|
2019-03-19 23:17:05 +01:00
|
|
|
time-utils = { path = "../util/time-utils" }
|
2018-09-04 20:13:51 +02:00
|
|
|
trace-time = "0.1"
|
2019-01-04 14:05:46 +01:00
|
|
|
triehash-ethereum = { version = "0.2", path = "../util/triehash-ethereum" }
|
|
|
|
unexpected = { path = "../util/unexpected" }
|
2018-12-28 10:33:49 +01:00
|
|
|
using_queue = { path = "../miner/using-queue" }
|
2017-08-01 12:37:57 +02:00
|
|
|
vm = { path = "vm" }
|
|
|
|
wasm = { path = "wasm" }
|
2015-12-02 21:49:57 +01:00
|
|
|
|
2018-02-19 12:03:54 +01:00
|
|
|
[dev-dependencies]
|
2019-01-04 14:05:46 +01:00
|
|
|
blooms-db = { path = "../util/blooms-db" }
|
|
|
|
criterion = "0.2"
|
|
|
|
env_logger = "0.5"
|
2019-02-07 14:34:24 +01:00
|
|
|
ethcore-accounts = { path = "../accounts" }
|
2019-02-11 18:08:12 +01:00
|
|
|
fetch = { path = "../util/fetch" }
|
2019-09-12 18:43:53 +02:00
|
|
|
hex-literal = "0.2.1"
|
2019-01-04 14:05:46 +01:00
|
|
|
kvdb-rocksdb = "0.1.3"
|
2019-02-11 18:08:12 +01:00
|
|
|
parity-runtime = { path = "../util/runtime" }
|
2019-01-04 14:05:46 +01:00
|
|
|
rlp_compress = { path = "../util/rlp-compress" }
|
2018-06-27 20:25:49 +02:00
|
|
|
tempdir = "0.3"
|
2018-09-04 20:13:51 +02:00
|
|
|
trie-standardmap = "0.1"
|
2018-02-19 12:03:54 +01:00
|
|
|
|
2016-01-17 13:11:25 +01:00
|
|
|
[features]
|
2018-07-13 12:36:58 +02:00
|
|
|
parity = ["work-notify", "price-info", "stratum"]
|
|
|
|
# Large optional features that are enabled by default for Parity,
|
|
|
|
# but might be omitted for other dependent crates.
|
|
|
|
work-notify = ["ethcore-miner/work-notify"]
|
|
|
|
price-info = ["ethcore-miner/price-info"]
|
2019-11-11 21:57:38 +01:00
|
|
|
stratum = [ "ethcore-stratum" ]
|
|
|
|
|
2018-07-13 12:36:58 +02:00
|
|
|
|
2018-07-13 16:20:24 +02:00
|
|
|
# Disables seal verification for mined blocks.
|
|
|
|
# This allows you to submit any seal via RPC to test and benchmark
|
|
|
|
# how fast pending block get's created while running on the mainnet.
|
|
|
|
miner-debug = []
|
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.
|
2019-01-08 15:07:20 +01:00
|
|
|
json-tests = ["env_logger", "test-helpers", "to-pod-full"]
|
2018-09-25 12:24:40 +02:00
|
|
|
# Skip JSON consensus tests with pending issues.
|
2019-02-20 10:05:11 +01:00
|
|
|
ci-skip-tests = []
|
2018-04-13 17:34:27 +02:00
|
|
|
# Run memory/cpu heavy tests.
|
2016-01-21 16:08:09 +01:00
|
|
|
test-heavy = []
|
2018-06-04 15:58:44 +02:00
|
|
|
# Compile test helpers
|
2020-07-29 08:42:17 +02:00
|
|
|
test-helpers = ["tempdir", "kvdb-rocksdb", "blooms-db", "common-types/test-helpers"]
|
2018-11-25 20:12:59 +01:00
|
|
|
# Enables slow 'to-pod-full' method for use in tests and evmbin.
|
|
|
|
to-pod-full = []
|
2018-11-06 14:22:44 +01:00
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "builtin"
|
|
|
|
harness = false
|