From e3017118e1cbcb458ff404f69ce00e6f0b5c16d1 Mon Sep 17 00:00:00 2001 From: Eliza Weisman Date: Thu, 4 Feb 2021 12:44:44 -0800 Subject: [PATCH] tracing: update minimum `tracing-attributes` to 0.1.12 This branch updates the minimum `tracing-attributes` dependency from v0.1.10 to v0.1.12. v0.1.12 includes a number of significant changes: * Support for arbitrary field expressions in `#[instrument]` was added in v0.1.11. This means that users who read the crates.io docs for `tracing-attributes` will see that arbitrary field expressions are permitted, but if `tracing` reexports an older version, this won't actually work. * v0.1.12 updates `#[instrument]` to use the `Instrumented` type from `tracing` rather than from `tracing-futures`. This means async/await will now work without an additional dependency on `tracing-futures`. * Also, a few bugs were fixed in v0.1.11 and v0.1.12. --- tracing/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tracing/Cargo.toml b/tracing/Cargo.toml index a869b0ca36..65d93360b7 100644 --- a/tracing/Cargo.toml +++ b/tracing/Cargo.toml @@ -29,7 +29,7 @@ edition = "2018" [dependencies] tracing-core = { path = "../tracing-core", version = "0.1.17", default-features = false } log = { version = "0.4", optional = true } -tracing-attributes = { path = "../tracing-attributes", version = "0.1.10", optional = true } +tracing-attributes = { path = "../tracing-attributes", version = "0.1.12", optional = true } cfg-if = "1.0.0" pin-project-lite = "0.2"