Registry / other / proc-macro-hack

proc-macro-hack

JSON →
library0.5.20+deprecatedrscratesunverified

Procedural macros in expression position

# Cargo.toml [dependencies] proc-macro-hack = "0.5.20+deprecated"
INSTALL
IMPORT
SIG · PROC-MACRO-HACK
P
proc-macro-hack
otherrustv0.5.20+deprecated
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.

proc_macro_hack
use proc_macro_hack::proc_macro_hack;

Define a procedural macro that can be used in expression position.

use proc_macro_hack::proc_macro_hack; proc_macro_hack! { // macro definition }
Debug
Known issues
breakingThis crate is deprecated; use proc-macro2 and quote directly instead.
fix
Migrate to proc-macro2 and quote crates for procedural macros.
affects: >=0.5.0
Upgrade
Version history
0.5.20+deprecatedlatest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
proc-macro-hack — cargo add proc-macro-hack · libregistry