feat: add proc macro to reduce overseer mock boilerplate (#2949)

This commit is contained in:
Bernhard Schuster
2021-04-29 12:07:28 +02:00
committed by GitHub
parent f36d8efb3d
commit 1ef8eac8ec
12 changed files with 309 additions and 487 deletions
+12
View File
@@ -6179,6 +6179,7 @@ dependencies = [
"polkadot-node-subsystem",
"polkadot-node-subsystem-util",
"polkadot-primitives",
"polkadot-procmacro-overseer-subsystems-gen",
"sc-client-api",
"sp-api",
"sp-core",
@@ -6229,6 +6230,17 @@ dependencies = [
"thiserror",
]
[[package]]
name = "polkadot-procmacro-overseer-subsystems-gen"
version = "0.1.0"
dependencies = [
"assert_matches",
"proc-macro2",
"quote",
"syn",
"trybuild",
]
[[package]]
name = "polkadot-procmacro-subsystem-dispatch-gen"
version = "0.1.0"