2016-01-26 13:14:22 +01:00
|
|
|
[package]
|
2020-09-22 14:53:52 +02:00
|
|
|
description = "OpenEthereum"
|
|
|
|
name = "openethereum"
|
2018-02-08 12:38:56 +01:00
|
|
|
# NOTE Make sure to update util/version/Cargo.toml as well
|
2021-03-08 17:49:59 +01:00
|
|
|
version = "3.2.0"
|
2016-01-26 13:14:22 +01:00
|
|
|
license = "GPL-3.0"
|
2020-09-22 14:53:52 +02:00
|
|
|
authors = [
|
|
|
|
"OpenEthereum developers",
|
|
|
|
"Parity Technologies <admin@parity.io>"
|
|
|
|
]
|
2016-01-26 13:14:22 +01:00
|
|
|
|
|
|
|
[dependencies]
|
2021-01-13 18:03:12 +01:00
|
|
|
blooms-db = { path = "crates/db/blooms-db" }
|
2018-08-10 01:04:10 +02:00
|
|
|
log = "0.4"
|
2017-07-06 11:36:15 +02:00
|
|
|
rustc-hex = "1.0"
|
2018-11-11 11:19:44 +01:00
|
|
|
docopt = "1.0"
|
2017-09-05 13:30:22 +02:00
|
|
|
clap = "2"
|
2018-01-31 09:50:52 +01:00
|
|
|
term_size = "0.3"
|
|
|
|
textwrap = "0.9"
|
2017-03-15 12:13:19 +01:00
|
|
|
num_cpus = "1.2"
|
2016-03-07 11:40:44 +01:00
|
|
|
number_prefix = "0.2"
|
2017-10-16 10:20:55 +02:00
|
|
|
rpassword = "1.0"
|
2018-04-04 11:54:41 +02:00
|
|
|
semver = "0.9"
|
2018-01-17 11:45:29 +01:00
|
|
|
ansi_term = "0.10"
|
2018-12-11 17:22:55 +01:00
|
|
|
parking_lot = "0.7"
|
2018-11-01 06:16:02 +01:00
|
|
|
regex = "1.0"
|
2018-04-11 12:56:37 +02:00
|
|
|
atty = "0.2.8"
|
2017-07-06 11:36:15 +02:00
|
|
|
toml = "0.4"
|
|
|
|
serde = "1.0"
|
|
|
|
serde_json = "1.0"
|
|
|
|
serde_derive = "1.0"
|
2017-03-23 22:20:00 +01:00
|
|
|
futures = "0.1"
|
2020-09-14 16:08:57 +02:00
|
|
|
hyper = { version = "0.12" }
|
2017-01-11 20:02:27 +01:00
|
|
|
fdlimit = "0.1"
|
2017-03-22 07:02:14 +01:00
|
|
|
ctrlc = { git = "https://github.com/paritytech/rust-ctrlc.git" }
|
2020-09-21 11:36:28 +02:00
|
|
|
jsonrpc-core = "15.0.0"
|
2018-09-04 20:13:51 +02:00
|
|
|
parity-bytes = "0.1"
|
2021-01-13 18:03:12 +01:00
|
|
|
common-types = { path = "crates/ethcore/types" }
|
|
|
|
ethcore = { path = "crates/ethcore", features = ["parity"] }
|
|
|
|
ethcore-accounts = { path = "crates/accounts", optional = true }
|
|
|
|
ethcore-blockchain = { path = "crates/ethcore/blockchain" }
|
|
|
|
ethcore-call-contract = { path = "crates/vm/call-contract"}
|
|
|
|
ethcore-db = { path = "crates/db/db" }
|
|
|
|
ethcore-io = { path = "crates/runtime/io" }
|
|
|
|
ethcore-logger = { path = "bin/oe/logger" }
|
|
|
|
ethcore-miner = { path = "crates/concensus/miner" }
|
|
|
|
ethcore-network = { path = "crates/net/network" }
|
|
|
|
ethcore-service = { path = "crates/ethcore/service" }
|
|
|
|
ethcore-sync = { path = "crates/ethcore/sync" }
|
2018-09-04 20:13:51 +02:00
|
|
|
ethereum-types = "0.4"
|
2021-01-13 18:03:12 +01:00
|
|
|
ethkey = { path = "crates/accounts/ethkey" }
|
|
|
|
ethstore = { path = "crates/accounts/ethstore" }
|
|
|
|
fetch = { path = "crates/net/fetch" }
|
|
|
|
node-filter = { path = "crates/net/node-filter" }
|
2018-10-09 22:07:25 +02:00
|
|
|
rlp = { version = "0.3.0", features = ["ethereum"] }
|
2021-01-13 18:03:12 +01:00
|
|
|
cli-signer= { path = "crates/util/cli-signer" }
|
2019-02-18 13:38:46 +01:00
|
|
|
parity-daemonize = "0.3"
|
2021-01-13 18:03:12 +01:00
|
|
|
parity-local-store = { path = "crates/concensus/miner/local-store" }
|
|
|
|
parity-runtime = { path = "crates/runtime/runtime" }
|
|
|
|
parity-rpc = { path = "crates/rpc" }
|
|
|
|
parity-version = { path = "crates/util/version" }
|
2018-09-04 20:13:51 +02:00
|
|
|
parity-path = "0.1"
|
2021-01-13 18:03:12 +01:00
|
|
|
dir = { path = "crates/util/dir" }
|
|
|
|
panic_hook = { path = "crates/util/panic-hook" }
|
2018-09-04 20:13:51 +02:00
|
|
|
keccak-hash = "0.1"
|
2021-01-13 18:03:12 +01:00
|
|
|
migration-rocksdb = { path = "crates/db/migration-rocksdb" }
|
2018-09-04 20:13:51 +02:00
|
|
|
kvdb = "0.1"
|
2018-09-03 18:40:11 +02:00
|
|
|
kvdb-rocksdb = "0.1.3"
|
2021-01-13 18:03:12 +01:00
|
|
|
journaldb = { path = "crates/db/journaldb" }
|
|
|
|
stats = { path = "crates/util/stats" }
|
2020-09-14 16:08:57 +02:00
|
|
|
prometheus = "0.9.0"
|
2017-04-03 10:27:37 +02:00
|
|
|
|
2021-01-13 18:03:12 +01:00
|
|
|
# ethcore-secretstore = { path = "crates/util/secret-store", optional = true }
|
2018-03-12 21:46:27 +01:00
|
|
|
|
2017-03-15 14:03:11 +01:00
|
|
|
[build-dependencies]
|
|
|
|
rustc_version = "0.2"
|
|
|
|
|
2017-02-13 16:38:47 +01:00
|
|
|
[dev-dependencies]
|
2017-04-03 10:27:37 +02:00
|
|
|
pretty_assertions = "0.1"
|
2017-07-28 19:06:39 +02:00
|
|
|
ipnetwork = "0.12.6"
|
2018-01-19 17:32:53 +01:00
|
|
|
tempdir = "0.3"
|
2021-01-13 18:03:12 +01:00
|
|
|
fake-fetch = { path = "crates/net/fake-fetch" }
|
2019-02-06 17:53:34 +01:00
|
|
|
lazy_static = "1.2.0"
|
2017-02-13 16:38:47 +01:00
|
|
|
|
2016-06-14 16:12:46 +02:00
|
|
|
[target.'cfg(windows)'.dependencies]
|
2018-04-11 15:22:48 +02:00
|
|
|
winapi = { version = "0.3.4", features = ["winsock2", "winuser", "shellapi"] }
|
2016-06-14 16:12:46 +02:00
|
|
|
|
2016-01-26 13:14:22 +01:00
|
|
|
[features]
|
2019-02-07 14:34:24 +01:00
|
|
|
default = ["accounts"]
|
|
|
|
accounts = ["ethcore-accounts", "parity-rpc/accounts"]
|
2018-07-13 16:20:24 +02:00
|
|
|
miner-debug = ["ethcore/miner-debug"]
|
2016-10-04 18:22:26 +02:00
|
|
|
json-tests = ["ethcore/json-tests"]
|
2019-02-20 10:05:11 +01:00
|
|
|
ci-skip-tests = ["ethcore/ci-skip-tests"]
|
2016-10-26 13:53:47 +02:00
|
|
|
test-heavy = ["ethcore/test-heavy"]
|
2016-10-04 18:22:26 +02:00
|
|
|
evm-debug = ["ethcore/evm-debug"]
|
2016-10-03 23:29:46 +02:00
|
|
|
evm-debug-tests = ["ethcore/evm-debug-tests"]
|
|
|
|
slow-blocks = ["ethcore/slow-blocks"]
|
2018-01-02 11:02:04 +01:00
|
|
|
final = ["parity-version/final"]
|
2018-05-30 15:42:37 +02:00
|
|
|
deadlock_detection = ["parking_lot/deadlock_detection"]
|
2018-06-07 16:48:01 +02:00
|
|
|
# to create a memory profile (requires nightly rust), use e.g.
|
|
|
|
# `heaptrack /path/to/parity <parity params>`,
|
|
|
|
# to visualize a memory profile, use `heaptrack_gui`
|
|
|
|
# or
|
|
|
|
# `valgrind --tool=massif /path/to/parity <parity params>`
|
|
|
|
# and `massif-visualizer` for visualization
|
|
|
|
memory_profiling = []
|
2016-01-31 11:08:04 +01:00
|
|
|
|
2018-05-09 08:47:21 +02:00
|
|
|
[lib]
|
2021-01-13 18:03:12 +01:00
|
|
|
path = "bin/oe/lib.rs"
|
2018-05-09 08:47:21 +02:00
|
|
|
|
2016-01-31 11:08:04 +01:00
|
|
|
[[bin]]
|
2021-01-13 18:03:12 +01:00
|
|
|
path = "bin/oe/main.rs"
|
2020-09-22 14:53:52 +02:00
|
|
|
name = "openethereum"
|
2016-02-21 19:46:29 +01:00
|
|
|
|
2019-06-11 20:56:03 +02:00
|
|
|
[profile.test]
|
|
|
|
lto = false
|
|
|
|
opt-level = 3 # makes tests slower to compile, but faster to run
|
2017-06-22 19:00:53 +02:00
|
|
|
|
2016-02-21 19:46:29 +01:00
|
|
|
[profile.release]
|
2016-10-02 09:40:54 +02:00
|
|
|
debug = false
|
2019-06-11 20:56:03 +02:00
|
|
|
lto = true
|
2017-05-23 12:28:22 +02:00
|
|
|
|
|
|
|
[workspace]
|
2018-12-28 10:33:49 +01:00
|
|
|
# This should only list projects that are not
|
|
|
|
# in the dependency tree in any other way
|
|
|
|
# (i.e. pretty much only standalone CLI tools)
|
2017-12-19 10:20:49 +01:00
|
|
|
members = [
|
2021-01-13 18:03:12 +01:00
|
|
|
"bin/ethkey",
|
|
|
|
"bin/ethstore",
|
|
|
|
"bin/evmbin",
|
|
|
|
"bin/chainspec"
|
2018-10-31 13:38:47 +01:00
|
|
|
]
|
2019-01-29 09:26:22 +01:00
|
|
|
|
|
|
|
[patch.crates-io]
|
|
|
|
heapsize = { git = "https://github.com/cheme/heapsize.git", branch = "ec-macfix" }
|