From cc6ce45117a22df06c85a608ddcac2818f0256de Mon Sep 17 00:00:00 2001 From: JonathanWoollett-Light Date: Tue, 20 Jun 2023 21:17:00 +0100 Subject: [PATCH] docs: Add `clippy-tracing` to related crates --- README.md | 2 ++ tracing/src/lib.rs | 2 ++ 2 files changed, 4 insertions(+) diff --git a/README.md b/README.md index 7fb11378ff..798b605c32 100644 --- a/README.md +++ b/README.md @@ -403,6 +403,7 @@ are not maintained by the `tokio` project. These include: - [`tracing-logfmt`] provides a layer that formats events and spans into the logfmt format. - [`tracing-chrome`] provides a layer that exports trace data that can be viewed in `chrome://tracing`. - [`reqwest-tracing`] provides a middleware to trace [`reqwest`] HTTP requests. +- [`clippy-tracing`] provides a tool to add, remove and check for [`tracing::instrument`]. (if you're the maintainer of a `tracing` ecosystem crate not in this list, please let us know!) @@ -445,6 +446,7 @@ please let us know!) [`tracing-chrome`]: https://crates.io/crates/tracing-chrome [`reqwest-tracing`]: https://crates.io/crates/reqwest-tracing [`reqwest`]: https://crates.io/crates/reqwest +[`clippy-tracing`]: https://crates.io/crates/clippy-tracing **Note:** that some of the ecosystem crates are currently unreleased and undergoing active development. They may be less stable than `tracing` and diff --git a/tracing/src/lib.rs b/tracing/src/lib.rs index 916cf03cdf..2ed2f58ff5 100644 --- a/tracing/src/lib.rs +++ b/tracing/src/lib.rs @@ -808,6 +808,7 @@ //! - [`tracing-loki`] provides a layer for shipping logs to [Grafana Loki]. //! - [`tracing-logfmt`] provides a layer that formats events and spans into the logfmt format. //! - [`reqwest-tracing`] provides a middleware to trace [`reqwest`] HTTP requests. +//! - [`clippy-tracing`] provides a tool to add, remove and check for [`tracing::instrument`]. //! //! If you're the maintainer of a `tracing` ecosystem crate not listed above, //! please let us know! We'd love to add your project to the list! @@ -848,6 +849,7 @@ //! [`tracing-logfmt`]: https://crates.io/crates/tracing-logfmt //! [`reqwest-tracing`]: https://crates.io/crates/reqwest-tracing //! [`reqwest`]: https://crates.io/crates/reqwest +//! [`clippy-tracing`]: https://crates.io/crates/clippy-tracing //! //!
//!