vaticle / dependencies

Bazel dependency declarations for build tools reused across @vaticle repositories (only for @vaticle)
Mozilla Public License 2.0
12 stars 23 forks source link

Add macro rules attribute crate #525

Closed dmitrii-ubskii closed 3 months ago

dmitrii-ubskii commented 3 months ago

What is the goal of this PR?

We add the macro_rules_attribute crate, which allows us to use a declarative macro in attribute position:

macro_rules! decorator { /* … */ }

#[apply(decorator)]
struct Foo { /* … */ }
vaticle-bot commented 3 months ago

PR Review Checklist

Do not edit the content of this comment. The PR reviewer should simply update this comment by ticking each review item below, as they get completed.


Trivial Change

Code

Architecture