Registry / utility / macro-magic

macro-magic

JSON →
library0.6.0rscratesunverified

Allows exporting and importing tokens of items across module, file, and crate boundaries.

# Cargo.toml [dependencies] macro_magic = "0.6.0"
INSTALL
IMPORT
SIG · MACRO-MAGIC
M
macro-magic
utilityrustv0.6.0
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.

export_tokens
use macro_magic::export_tokens;

Export tokens from a function for use in other modules.

use macro_magic::export_tokens; #[export_tokens] fn my_function() {}
Debug
Known issues
gotchaRequires nightly Rust for some features.
fix
Use nightly toolchain or check feature flags.
affects: >=0.6.0
Upgrade
Version history
0.6.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
macro-magic — cargo add macro-magic · libregistry