Registry / utility / macro-rules-attribute

macro-rules-attribute

JSON →
library0.2.2rscratesunverified

Use declarative macros in attribute or derive position.

# Cargo.toml [dependencies] macro_rules_attribute = "0.2.2"
INSTALL
IMPORT
SIG · MACRO-RULES-ATTRIB
M
macro-rules-attribute
utilityrustv0.2.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

attribute
use macro_rules_attribute::attribute;

Applies a declarative macro as an attribute.

use macro_rules_attribute::attribute; macro_rules! my_macro { ($s:ident) => { fn $s() {} } } #[attribute(my_macro)] fn my_fn() {}
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
macro-rules-attribute — cargo add macro-rules-attribute · libregistry