mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 08:41:02 +00:00
cumulus-primitives-parachain-inherent: Split into two crates (#2803)
This splits `cumulus-primitives-parachain-inherent` into two crates, the previous `cumulus-primitives-parachain-inherent` and a new `cumulus-client-parachain-inherent`. The idea behind this is to move the `create_at` logic into the client crate. This removes quite a lot of unrelated dependencies from the runtime std build and thus, makes the compilation faster. On my Laptop the compilation is goes down by one minute for `asset-hub-rococo-runtime`. I also assume that the full build of the entire workspace probably can be speed-up a little bit, because more stuff can be compiled in parallel. --------- Co-authored-by: command-bot <>
This commit is contained in:
@@ -13,23 +13,17 @@ workspace = true
|
||||
async-trait = { version = "0.1.74", optional = true }
|
||||
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] }
|
||||
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
|
||||
tracing = { version = "0.1.37", optional = true }
|
||||
|
||||
# Substrate
|
||||
sc-client-api = { path = "../../../substrate/client/api", optional = true }
|
||||
sp-api = { path = "../../../substrate/primitives/api", optional = true }
|
||||
sp-core = { path = "../../../substrate/primitives/core", default-features = false }
|
||||
sp-inherents = { path = "../../../substrate/primitives/inherents", default-features = false }
|
||||
sp-runtime = { path = "../../../substrate/primitives/runtime", optional = true }
|
||||
sp-state-machine = { path = "../../../substrate/primitives/state-machine", optional = true }
|
||||
sp-std = { path = "../../../substrate/primitives/std", default-features = false }
|
||||
sp-storage = { path = "../../../substrate/primitives/storage", optional = true }
|
||||
sp-trie = { path = "../../../substrate/primitives/trie", default-features = false }
|
||||
|
||||
# Cumulus
|
||||
cumulus-primitives-core = { path = "../core", default-features = false }
|
||||
cumulus-relay-chain-interface = { path = "../../client/relay-chain-interface", optional = true }
|
||||
cumulus-test-relay-sproof-builder = { path = "../../test/relay-sproof-builder", optional = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
@@ -37,17 +31,9 @@ std = [
|
||||
"async-trait",
|
||||
"codec/std",
|
||||
"cumulus-primitives-core/std",
|
||||
"cumulus-relay-chain-interface",
|
||||
"cumulus-test-relay-sproof-builder",
|
||||
"sc-client-api",
|
||||
"scale-info/std",
|
||||
"sp-api",
|
||||
"sp-core/std",
|
||||
"sp-inherents/std",
|
||||
"sp-runtime",
|
||||
"sp-state-machine",
|
||||
"sp-std/std",
|
||||
"sp-storage",
|
||||
"sp-trie/std",
|
||||
"tracing",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user