mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 14:01:06 +00:00
Remove all (non-dev) client references from frame, activate dependency enforcer (#4184)
* Move transaction pool to primitives * move backend, errors into primitives * remove unused client depencies * Move rpc-api into primitives * Move peerset back to client * Move rpc/api back to client, move palette/support/rpc into utils * move support-rpc into subfolder * move system-rpc into utils * move transaction-pool and -graph back into client * fix broken imports * Clean up test primitives * Make support test utils independent of frame * remove unnecessary node dependencies from service * Reactivate dependency script: - only enforce the now achieved status quo will remain - allow for primitives to depend on /client for now without failing - more discriptive error message so people understand, what it wants - minor fix to differentiative between ../client and /client (which may be a subfolder) - don't allow this to fail anylonger. * fix doc comment * 'Should not' rather than 'must not'. * Revert unwanted dependency changes * fix faulty import * fixup derive_more version * fix wrong import path
This commit is contained in:
committed by
GitHub
parent
b2aab98e69
commit
bd652793db
@@ -7,31 +7,9 @@ edition = "2018"
|
||||
[dependencies]
|
||||
app-crypto = { package = "substrate-application-crypto", path = "../../../primitives/application-crypto", default-features = false }
|
||||
codec = { package = "parity-scale-codec", version = "1.0.0", default-features = false, features = ["derive"] }
|
||||
# aura-primitives = { package = "substrate-consensus-aura-primitives", path = "../../../primitives/consensus/aura", default-features = false }
|
||||
# babe-primitives = { package = "substrate-consensus-babe-primitives", path = "../../../primitives/consensus/babe", default-features = false }
|
||||
# block-builder-api = { package = "substrate-block-builder-runtime-api", path = "../../../primitives/block-builder/runtime-api", default-features = false }
|
||||
# inherents = { package = "substrate-inherents", path = "../../../primitives/inherents", default-features = false }
|
||||
# log = { version = "0.4.8", optional = true }
|
||||
# memory-db = { version = "0.15.2", default-features = false }
|
||||
# offchain-primitives = { package = "substrate-offchain-primitives", path = "../../../primitives/offchain", default-features = false}
|
||||
primitives = { package = "substrate-primitives", path = "../../../primitives/core", default-features = false }
|
||||
# rstd = { package = "sr-std", path = "../../../primitives/sr-std", default-features = false }
|
||||
# runtime-interface = { package = "substrate-runtime-interface", path = "../../../primitives/runtime-interface", default-features = false}
|
||||
# runtime_io = { package = "sr-io", path = "../../../primitives/sr-io", default-features = false }
|
||||
# runtime_support = { package = "frame-support", path = "../../../frame/support", default-features = false }
|
||||
# runtime_version = { package = "sr-version", path = "../../../primitives/sr-version", default-features = false }
|
||||
serde = { version = "1.0.101", optional = true, features = ["derive"] }
|
||||
# session = { package = "substrate-session", path = "../../../primitives/session", default-features = false }
|
||||
# sr-api = { path = "../../../primitives/sr-api", default-features = false }
|
||||
sr-primitives = { path = "../../../primitives/sr-primitives", default-features = false }
|
||||
# pallet-babe = { path = "../../../frame/babe", default-features = false }
|
||||
# frame-system = { path = "../../../frame/system", default-features = false }
|
||||
# frame-system-rpc-runtime-api = { path = "../../../frame/system/rpc/runtime-api", default-features = false }
|
||||
# pallet-timestamp = { path = "../../../frame/timestamp", default-features = false }
|
||||
# substrate-client = { path = "../../../client", optional = true }
|
||||
# substrate-trie = { path = "../../../primitives/trie", default-features = false }
|
||||
# transaction-pool-api = { package = "substrate-transaction-pool-runtime-api", path = "../../../primitives/transaction-pool/runtime-api", default-features = false }
|
||||
# trie-db = { version = "0.15.2", default-features = false }
|
||||
|
||||
[features]
|
||||
default = [
|
||||
@@ -39,33 +17,5 @@ default = [
|
||||
]
|
||||
std = [
|
||||
"app-crypto/std",
|
||||
# "aura-primitives/std",
|
||||
# "babe-primitives/std",
|
||||
# "block-builder-api/std",
|
||||
# "codec/std",
|
||||
# "executive/std",
|
||||
# "inherents/std",
|
||||
# "keyring",
|
||||
# "log",
|
||||
# "memory-db/std",
|
||||
# "offchain-primitives/std",
|
||||
# "primitives/std",
|
||||
# "primitives/std",
|
||||
# "rstd/std",
|
||||
# "runtime-interface/std",
|
||||
# "runtime_io/std",
|
||||
# "runtime_support/std",
|
||||
# "runtime_version/std",
|
||||
"serde",
|
||||
# "session/std",
|
||||
# "sr-api/std",
|
||||
# "sr-primitives/std",
|
||||
# "pallet-babe/std",
|
||||
# "frame-system-rpc-runtime-api/std",
|
||||
# "frame-system/std",
|
||||
# "pallet-timestamp/std",
|
||||
# "substrate-client",
|
||||
# "substrate-trie/std",
|
||||
# "transaction-pool-api/std",
|
||||
# "trie-db/std",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user