Registry / observability / flamer

flamer

JSON →
library0.5.0rscratesunverified

A procedural macro that inserts flame::start_guard(_) calls for profiling.

# Cargo.toml [dependencies] flamer = "0.5.0"
INSTALL
IMPORT
SIG · FLAMER
F
flamer
observabilityrustv0.5.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.

flame
✓ use flamer::flame;

Annotate a function with #[flame] to automatically insert flame profiling guards.

use flamer::flame; #[flame] fn my_function() { // function body }
Debug
Known issues
gotchaRequires the `flame` crate to be in scope for the generated code to compile.
fix
Add `flame` as a dependency and import it.
affects: >=0.5.0
Upgrade
Version history
0.5.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
19 hits · last 30 days
node
14
OpenAI (training)
2
Amazon
1
Resources
flamer — cargo add flamer · libregistry