Closed yoshuawuyts closed 5 years ago
Change the #[instrument] macro to #[span].
#[instrument]
#[span]
This reduces the API surface substantially, and should make this crate easier to use.
We likely should use https://github.com/dtolnay/proc-macro-hack
None.
Talked to @dtolnay in person today, and this is not possible with the current macro structure.
Feature Request
Summary
Change the
#[instrument]
macro to#[span]
.Motivation
This reduces the API surface substantially, and should make this crate easier to use.
Reference-level explanation
We likely should use https://github.com/dtolnay/proc-macro-hack
Unresolved Questions
None.