From 5de7f64328f2bfa1051ebf163fc1eeab525d924c Mon Sep 17 00:00:00 2001 From: John-John Tedro Date: Mon, 28 Feb 2022 21:59:59 +0100 Subject: [PATCH] attributes: use correct minimal version of `syn` (#1960) This sets the minimal version of `syn` to `1.0.43` - the actual minimal version that is required to build `tracing-attributes`. See this build failure in Tokio: https://github.com/tokio-rs/tokio/runs/5344598894?check_suite_focus=true CC: tokio-rs/tokio#4513 --- tracing-attributes/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tracing-attributes/Cargo.toml b/tracing-attributes/Cargo.toml index fab2bd9550..9540e09772 100644 --- a/tracing-attributes/Cargo.toml +++ b/tracing-attributes/Cargo.toml @@ -40,7 +40,7 @@ async-await = [] [dependencies] proc-macro2 = "1" -syn = { version = "1", default-features = false, features = ["full", "parsing", "printing", "visit", "visit-mut", "clone-impls", "extra-traits", "proc-macro"] } +syn = { version = "1.0.43", default-features = false, features = ["full", "parsing", "printing", "visit", "visit-mut", "clone-impls", "extra-traits", "proc-macro"] } quote = "1" [dev-dependencies]