tracing-attributes 0.1.31

Procedural macro attributes for automatically instrumenting functions.
Documentation
1
2
3
4
5
6
7
8
9
10
use tracing_attributes::instrument;

#[deny(unfulfilled_lint_expectations)]
#[expect(dead_code)]
#[instrument]
fn unused() {}

#[expect(dead_code)]
#[instrument]
async fn unused_async() {}