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"
|
2019-01-04 14:05:46 +01:00
|
|
|
blooms-db = { path = "../util/blooms-db", optional = true }
|
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-12-11 13:30:21 +01:00
|
|
|
crossbeam = "0.4"
|
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-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" }
|
|
|
|
ethstore = { path = "../accounts/ethstore" }
|
2017-07-12 13:09:17 +02:00
|
|
|
evm = { path = "evm" }
|
2019-01-04 14:05:46 +01:00
|
|
|
hashdb = "0.3.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 }
|
2018-01-17 11:45:29 +01:00
|
|
|
lazy_static = "1.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" }
|
|
|
|
memorydb = "0.3.0"
|
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"
|
2019-01-04 14:05:46 +01:00
|
|
|
parity-bytes = "0.1"
|
2019-02-06 17:53:34 +01:00
|
|
|
parity-crypto = "0.3.0"
|
2017-09-26 14:19:08 +02:00
|
|
|
parity-machine = { path = "../machine" }
|
2019-01-04 14:05:46 +01:00
|
|
|
parity-snappy = "0.1"
|
2018-12-11 17:22:55 +01:00
|
|
|
parking_lot = "0.7"
|
2019-01-04 14:05:46 +01:00
|
|
|
patricia-trie = "0.3.0"
|
|
|
|
patricia-trie-ethereum = { path = "../util/patricia-trie-ethereum" }
|
2018-02-09 09:32:06 +01:00
|
|
|
rand = "0.4"
|
2019-01-04 14:05:46 +01:00
|
|
|
rayon = "1.0"
|
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}
|
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
|
|
|
|
2019-01-10 13:13:15 +01:00
|
|
|
[target.'cfg(any(target_os = "linux", target_os = "macos", target_os = "windows"))'.dependencies]
|
2018-12-28 10:33:49 +01:00
|
|
|
hardware-wallet = { path = "../accounts/hw" }
|
2018-06-26 09:03:38 +02:00
|
|
|
|
2019-01-10 13:13:15 +01:00
|
|
|
[target.'cfg(not(any(target_os = "linux", target_os = "macos", target_os = "windows")))'.dependencies]
|
2018-12-28 10:33:49 +01:00
|
|
|
fake-hardware-wallet = { path = "../accounts/fake-hardware-wallet" }
|
2018-06-26 09:03:38 +02: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"
|
|
|
|
kvdb-rocksdb = "0.1.3"
|
|
|
|
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"]
|
|
|
|
stratum = ["ethcore-stratum"]
|
|
|
|
|
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.
|
|
|
|
ci-skip-issue = []
|
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
|
2019-01-04 14:05:46 +01:00
|
|
|
test-helpers = ["tempdir", "kvdb-rocksdb", "blooms-db"]
|
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
|