Cargo.toml 3.75 KiB
Newer Older
[package]
Gav Wood's avatar
Gav Wood committed
description = "Parity Ethereum client"
Marek Kotewicz's avatar
Marek Kotewicz committed
name = "parity"
# NOTE Make sure to update util/version/Cargo.toml as well
version = "1.12.0"
license = "GPL-3.0"
Gav Wood's avatar
Gav Wood committed
authors = ["Parity Technologies <[email protected]>"]

[dependencies]
blooms-db = { path = "util/blooms-db" }
ctrlc = { git = "https://github.com/paritytech/rust-ctrlc.git" }
jsonrpc-core = { git = "https://github.com/paritytech/jsonrpc.git", branch = "parity-1.11" }
Marek Kotewicz's avatar
Marek Kotewicz committed
ethcore = { path = "ethcore" }
ethcore-bytes = { path = "util/bytes" }
ethcore-io = { path = "util/io" }
ethcore-light = { path = "ethcore/light" }
ethcore-logger = { path = "logger" }
ethcore-miner = { path = "miner" }
ethcore-network = { path = "util/network" }
ethcore-private-tx = { path = "ethcore/private-tx" }
Marek Kotewicz's avatar
Marek Kotewicz committed
ethcore-service = { path = "ethcore/service" }
Marek Kotewicz's avatar
Marek Kotewicz committed
ethcore-sync = { path = "ethcore/sync" }
ethcore-transaction = { path = "ethcore/transaction" }
node-filter = { path = "ethcore/node_filter" }
ethkey = { path = "ethkey" }
node-health = { path = "dapps/node-health" }
rlp = { path = "util/rlp" }
Kristoffer Ström's avatar
Kristoffer Ström committed
rpc-cli = { path = "rpc_cli" }
Gav Wood's avatar
Gav Wood committed
parity-hash-fetch = { path = "hash-fetch" }
parity-ipfs-api = { path = "ipfs" }
parity-local-store = { path = "local-store" }
parity-reactor = { path = "util/reactor" }
parity-rpc = { path = "rpc" }
parity-rpc-client = { path = "rpc_client" }
parity-updater = { path = "updater" }
parity-version = { path = "util/version" }
parity-whisper = { path = "whisper" }
path = { path = "util/path" }
Tomasz Drwięga's avatar
Tomasz Drwięga committed
dir = { path = "util/dir" }
panic_hook = { path = "util/panic_hook" }
keccak-hash = { path = "util/hash" }
migration-rocksdb = { path = "util/migration-rocksdb" }
kvdb = { path = "util/kvdb" }
kvdb-rocksdb = { path = "util/kvdb-rocksdb" }
journaldb = { path = "util/journaldb" }
mem = { path = "util/mem" }

parity-dapps = { path = "dapps", optional = true }
ethcore-secretstore = { path = "secret_store", optional = true }
Gav Wood's avatar
Gav Wood committed

registrar = { path = "registrar" }

Tomasz Drwięga's avatar
Tomasz Drwięga committed
[dev-dependencies]
fake-fetch = { path = "util/fake-fetch" }
Tomasz Drwięga's avatar
Tomasz Drwięga committed

[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3.4", features = ["winsock2", "winuser", "shellapi"] }
Arkadiy Paronyan's avatar
Arkadiy Paronyan committed
[target.'cfg(not(windows))'.dependencies]
Pierre Krieger's avatar
Pierre Krieger committed
daemonize = { git = "https://github.com/paritytech/daemonize" }
[features]
default = ["dapps"]
dapps = ["parity-dapps"]
Nikolay Volf's avatar
Nikolay Volf committed
json-tests = ["ethcore/json-tests"]
test-heavy = ["ethcore/test-heavy"]
Nikolay Volf's avatar
Nikolay Volf committed
evm-debug = ["ethcore/evm-debug"]
evm-debug-tests = ["ethcore/evm-debug-tests"]
slow-blocks = ["ethcore/slow-blocks"]
secretstore = ["ethcore-secretstore"]
Tomasz Drwięga's avatar
Tomasz Drwięga committed
final = ["parity-version/final"]
deadlock_detection = ["parking_lot/deadlock_detection"]
# 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 = []
Marek Kotewicz's avatar
Marek Kotewicz committed

[lib]
path = "parity/lib.rs"

Marek Kotewicz's avatar
Marek Kotewicz committed
[[bin]]
path = "parity/main.rs"
name = "parity"
Arkadiy Paronyan's avatar
Arkadiy Paronyan committed
[profile.dev]
panic = "abort"

[profile.release]
Arkadiy Paronyan's avatar
Arkadiy Paronyan committed
lto = false
panic = "abort"

[workspace]
members = [
	"chainspec",
	"dapps/js-glue",
	"ethcore/wasm/run",
	"ethkey/cli",
	"ethstore/cli",
	"evmbin",
	"parity-clib",
	"transaction-pool",
Niklas Adolfsson's avatar
Niklas Adolfsson committed
	"whisper",
	"whisper/cli",

[patch.crates-io]
ring = { git = "https://github.com/paritytech/ring" }