integritee-network / worker

Integritee off-chain worker and sidechain validateer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use zepter to maintain cargo feature hygiene

clangenb opened this issue · comments

This helps to see how features are enabled and propagated. I haven't tested, nor checked it thoroughly, but it might be interesting for us:

https://github.com/ggwpez/zepter

tested it in encointer/pallets. finds quite a lot and fixes automatically

for pallets:

zepter f f
zepter lint propagate-feature --feature std --workspace --fix
zepter lint propagate-feature --feature try-runtime --workspace --fix
zepter lint propagate-feature --feature runtime-benchmarks --workspace --fix

hmm, not entirely happy. zepter didn't properly propagate runtime-benchmarks....