mirror of
https://github.com/tokio-rs/tracing.git
synced 2025-10-03 15:54:48 +00:00

## Motivation In order to re-export the `#[instrument]` attribute macro in `tracing`, it must be released to crates.io. There are some changes that needed to be made prior to releasing the procedural macro crate. ## Solution This branch makes the following changes: - Rename the attribute macro from `trace` to `instrument` (see #246) - Add support for setting a verbosity level (see #250) - Add support for setting a target - Rename the `tracing-proc-macros` crate to `tracing-attributes` - Add documentation + a README - Update Cargo.toml metadata The crate should now be ready to publish and re-export from `tracing`. Fixes: #246 Fixes: #250 Refs: #245 Signed-off-by: Eliza Weisman <eliza@buoyant.io>