Registry / other / swc-trace-macro

swc-trace-macro

JSON →
library2.0.2rscratesunverified

Proc macro for performance tracing in the SWC compiler.

# Cargo.toml [dependencies] swc_trace_macro = "2.0.2"
INSTALL
IMPORT
SIG · SWC-TRACE-MACRO
S
swc-trace-macro
otherrustv2.0.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.

trace_macro
use swc_trace_macro::trace_macro;

Annotate a function with the trace macro for performance tracing.

use swc_trace_macro::trace_macro; #[trace_macro] fn my_function() { // function body }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.0.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

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