3adb640d2b
Define a new `enum` where devp2p subprotocol packet ids (currently eth and par) are defined. Additionally provide functionality to query id value and protocol of a given id object.
43 lines
1.2 KiB
TOML
43 lines
1.2 KiB
TOML
[package]
|
|
description = "Ethcore blockchain sync"
|
|
name = "ethcore-sync"
|
|
version = "1.12.0"
|
|
license = "GPL-3.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
|
|
[lib]
|
|
|
|
[dependencies]
|
|
common-types = { path = "../types" }
|
|
enum_primitive = "0.1.1"
|
|
ethcore = { path = ".." }
|
|
ethcore-io = { path = "../../util/io" }
|
|
ethcore-light = { path = "../light" }
|
|
ethcore-network = { path = "../../util/network" }
|
|
ethcore-network-devp2p = { path = "../../util/network-devp2p" }
|
|
ethereum-types = "0.4"
|
|
ethkey = { path = "../../accounts/ethkey" }
|
|
ethstore = { path = "../../accounts/ethstore" }
|
|
fastmap = { path = "../../util/fastmap" }
|
|
hashdb = "0.3.0"
|
|
heapsize = "0.4"
|
|
keccak-hash = "0.1"
|
|
keccak-hasher = { path = "../../util/keccak-hasher" }
|
|
kvdb = "0.1"
|
|
log = "0.4"
|
|
macros = { path = "../../util/macros" }
|
|
parity-bytes = "0.1"
|
|
parking_lot = "0.7"
|
|
rand = "0.4"
|
|
rlp = { version = "0.3.0", features = ["ethereum"] }
|
|
trace-time = "0.1"
|
|
triehash-ethereum = {version = "0.2", path = "../../util/triehash-ethereum" }
|
|
|
|
[dev-dependencies]
|
|
env_logger = "0.5"
|
|
ethcore = { path = "..", features = ["test-helpers"] }
|
|
ethcore-io = { path = "../../util/io", features = ["mio"] }
|
|
ethcore-private-tx = { path = "../private-tx" }
|
|
kvdb-memorydb = "0.1"
|
|
rustc-hex = "1.0"
|