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
@@ -0,0 +1,18 @@
[package]
name = "polkadot-procmacro-overseer-subsystems-gen"
version = "0.1.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
description = "Small proc macro to create mocking level iface type helpers"
[lib]
proc-macro = true
[dependencies]
syn = { version = "1.0.60", features = ["full", "extra-traits"] }
quote = "1.0.9"
proc-macro2 = "1.0.24"
assert_matches = "1.5.0"
[dev-dependencies]
trybuild = "1.0.41"