[big refactor] Remove crate aliasing. (#4395)

* Rename: Phase 1.

* Unify codec.

* Fixing: Phase 2

* Fixing: Phase 3.

* Fixing: Phase 4.

* Fixing: Phase 5.

* Fixing: Phase 6.

* Fixing: Phase 7.

* Fixing: Phase 8. Tests

* Fixing: Phase 9. Tests!!!

* Fixing: Phase 10. Moar tests!

* Finally done!

* More fixes.

* Rename primitives:: to sp_core::

* Apply renames in finality-grandpa.

* Fix benches.

* Fix benches 2.

* Revert node-template.

* Fix frame-system in our modules.
This commit is contained in:
Tomasz Drwięga
2019-12-16 13:36:49 +01:00
committed by Gavin Wood
parent f14d98a439
commit 8778ca7dc8
485 changed files with 4023 additions and 4005 deletions
+29 -29
View File
@@ -6,26 +6,26 @@ edition = "2018"
build = "build.rs"
[dependencies]
app-crypto = { package = "sp-application-crypto", path = "../../primitives/application-crypto", default-features = false }
aura-primitives = { package = "sp-consensus-aura", path = "../../primitives/consensus/aura", default-features = false }
babe-primitives = { package = "sp-consensus-babe", path = "../../primitives/consensus/babe", default-features = false }
block-builder-api = { package = "sp-block-builder", path = "../../primitives/block-builder", default-features = false }
sp-application-crypto = { path = "../../primitives/application-crypto", default-features = false }
sp-consensus-aura = { path = "../../primitives/consensus/aura", default-features = false }
sp-consensus-babe = { path = "../../primitives/consensus/babe", default-features = false }
sp-block-builder = { path = "../../primitives/block-builder", default-features = false }
cfg-if = "0.1.10"
codec = { package = "parity-scale-codec", version = "1.0.0", default-features = false, features = ["derive"] }
executive = { package = "frame-executive", path = "../../frame/executive", default-features = false }
inherents = { package = "sp-inherents", path = "../../primitives/inherents", default-features = false }
keyring = { package = "sp-keyring", path = "../../primitives/keyring", optional = true }
frame-executive = { path = "../../frame/executive", default-features = false }
sp-inherents = { path = "../../primitives/inherents", default-features = false }
sp-keyring = { path = "../../primitives/keyring", optional = true }
log = { version = "0.4.8", optional = true }
memory-db = { version = "0.15.2", default-features = false }
offchain-primitives = { package = "sp-offchain", path = "../../primitives/offchain", default-features = false}
primitives = { package = "sp-core", path = "../../primitives/core", default-features = false }
sp-offchain = { path = "../../primitives/offchain", default-features = false}
sp-core = { path = "../../primitives/core", default-features = false }
sp-std = { path = "../../primitives/std", default-features = false }
runtime-interface = { package = "sp-runtime-interface", path = "../../primitives/runtime-interface", default-features = false}
sp-runtime-interface = { path = "../../primitives/runtime-interface", default-features = false}
sp-io = { path = "../../primitives/io", default-features = false }
runtime_support = { package = "frame-support", path = "../../frame/support", default-features = false }
runtime_version = { package = "sp-version", path = "../../primitives/version", default-features = false }
frame-support = { path = "../../frame/support", default-features = false }
sp-version = { path = "../../primitives/version", default-features = false }
serde = { version = "1.0.101", optional = true, features = ["derive"] }
session = { package = "sp-session", path = "../../primitives/session", default-features = false }
sp-session = { path = "../../primitives/session", default-features = false }
sp-api = { path = "../../primitives/api", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false }
pallet-babe = { path = "../../frame/babe", default-features = false }
@@ -34,13 +34,13 @@ frame-system-rpc-runtime-api = { path = "../../frame/system/rpc/runtime-api", de
pallet-timestamp = { path = "../../frame/timestamp", default-features = false }
sc-client = { path = "../../client", optional = true }
sp-trie = { path = "../../primitives/trie", default-features = false }
sp-transaction-pool = { package = "sp-transaction-pool", path = "../../primitives/transaction-pool", default-features = false }
sp-transaction-pool = { path = "../../primitives/transaction-pool", default-features = false }
trie-db = { version = "0.16.0", default-features = false }
[dev-dependencies]
sc-executor = { path = "../../client/executor" }
substrate-test-runtime-client = { path = "./client" }
state_machine = { package = "sp-state-machine", path = "../../primitives/state-machine" }
sp-state-machine = { path = "../../primitives/state-machine" }
[build-dependencies]
wasm-builder-runner = { package = "substrate-wasm-builder-runner", path = "../../utils/wasm-builder-runner", version = "1.0.4" }
@@ -50,26 +50,26 @@ default = [
"std",
]
std = [
"app-crypto/std",
"aura-primitives/std",
"babe-primitives/std",
"block-builder-api/std",
"sp-application-crypto/std",
"sp-consensus-aura/std",
"sp-consensus-babe/std",
"sp-block-builder/std",
"codec/std",
"executive/std",
"inherents/std",
"keyring",
"frame-executive/std",
"sp-inherents/std",
"sp-keyring",
"log",
"memory-db/std",
"offchain-primitives/std",
"primitives/std",
"primitives/std",
"sp-offchain/std",
"sp-core/std",
"sp-core/std",
"sp-std/std",
"runtime-interface/std",
"sp-runtime-interface/std",
"sp-io/std",
"runtime_support/std",
"runtime_version/std",
"frame-support/std",
"sp-version/std",
"serde",
"session/std",
"sp-session/std",
"sp-api/std",
"sp-runtime/std",
"pallet-babe/std",