From c8acb557691c4be861d7eca7eeac759e7fdadd4d Mon Sep 17 00:00:00 2001 From: Toby Lawrence Date: Wed, 1 Dec 2021 14:34:43 -0500 Subject: [PATCH] Add tracing-fluent-assertions to related crates. (#1764) * Add tracing-fluent-assertions to related crates. --- tracing/README.md | 9 +++++++++ tracing/src/lib.rs | 7 +++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/tracing/README.md b/tracing/README.md index af7f6aa2a6..4a8a85d2dd 100644 --- a/tracing/README.md +++ b/tracing/README.md @@ -390,6 +390,10 @@ maintained by the `tokio` project. These include: - [`diesel-tracing`] provides integration with [`diesel`] database connections. - [`tracing-tracy`] provides a way to collect [Tracy] profiles in instrumented applications. +- [`tracing-elastic-apm`] provides a layer for reporting traces to [Elastic APM]. +- [`tracing-etw`] provides a layer for emitting Windows [ETW] events. +- [`tracing-fluent-assertions`] provides a fluent assertions-style testing + framework for validating the behavior of `tracing` spans. 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! @@ -410,6 +414,11 @@ please let us know! We'd love to add your project to the list! [`diesel-tracing`]: https://crates.io/crates/diesel-tracing [`tracing-tracy`]: https://crates.io/crates/tracing-tracy [Tracy]: https://github.com/wolfpld/tracy +[`tracing-elastic-apm`]: https://crates.io/crates/tracing-elastic-apm +[Elastic APM]: https://www.elastic.co/apm +[`tracing-etw`]: https://github.com/microsoft/tracing-etw +[ETW]: https://docs.microsoft.com/en-us/windows/win32/etw/about-event-tracing +[`tracing-fluent-assertions`]: https://crates.io/crates/tracing-fluent-assertions **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 c6e6fbe8fc..e8d0ed5ef9 100644 --- a/tracing/src/lib.rs +++ b/tracing/src/lib.rs @@ -739,6 +739,8 @@ //! applications. //! - [`tracing-elastic-apm`] provides a layer for reporting traces to [Elastic APM]. //! - [`tracing-etw`] provides a layer for emitting Windows [ETW] events. +//! - [`tracing-fluent-assertions`] provides a fluent assertions-style testing +//! framework for validating the behavior of `tracing` spans. //! //! 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! @@ -765,10 +767,7 @@ //! [`diesel-tracing`]: https://crates.io/crates/diesel-tracing //! [`tracing-tracy`]: https://crates.io/crates/tracing-tracy //! [Tracy]: https://github.com/wolfpld/tracy -//! [`tracing-elastic-apm`]: https://crates.io/crates/tracing-elastic-apm -//! [Elastic APM]: https://www.elastic.co/apm -//! [`tracing-etw`]: https://github.com/microsoft/tracing-etw -//! [ETW]: https://docs.microsoft.com/en-us/windows/win32/etw/about-event-tracing +//! [`tracing-fluent-assertions`]: https://crates.io/crates/tracing-fluent-assertions //! //!
 //!     Note: Some of these ecosystem crates are currently