Migrate consensus (common, aura-primitives, aura, rhd) to 2018 edition (#1548)

This commit is contained in:
Stanislav Tkach
2019-01-24 17:51:33 +02:00
committed by Gav Wood
parent a5cafa68b1
commit 7f05bd959f
14 changed files with 65 additions and 136 deletions
+6 -5
View File
@@ -3,19 +3,20 @@ name = "substrate-consensus-common"
version = "0.1.0"
authors = ["Parity Technologies <admin@parity.io>"]
description = "Common utilities for substrate consensus"
edition = "2018"
[dependencies]
log = "0.4"
parking_lot = "0.7.1"
substrate-primitives = { path= "../../primitives" }
substrate-inherents = { path= "../../inherents" }
primitives = { package = "substrate-primitives", path= "../../primitives" }
inherents = { package = "substrate-inherents", path = "../../inherents" }
error-chain = "0.12"
futures = "0.1"
sr-version = { path = "../../sr-version" }
sr-primitives = { path = "../../sr-primitives" }
runtime_version = { package = "sr-version", path = "../../sr-version" }
runtime_primitives = { package = "sr-primitives", path = "../../sr-primitives" }
tokio = "0.1.7"
parity-codec = "2.2"
parity-codec-derive = "2.0"
[dev-dependencies]
substrate-test-client = { path = "../../test-client" }
test_client = { package = "substrate-test-client", path = "../../test-client" }